encrypt_vec: Encrypt a character vector using an RSA public/private key

Description Usage Arguments Value Examples

Description

Not usually called directly.

Usage

1
encrypt_vec(.data, public_key_path = "id_rsa.pub")

Arguments

.data

A vector, which if not a character vector is coerced to one.

public_key_path

Character. A quoted path to an RSA public key created using genkeys.

Value

A vector of ciphertexts.

Examples

1
2
3
4
5
## Not run: 
hospital_number = c("1010761111", "2010761212")
encrypt_vec(hospital_number)

## End(Not run)

encryptr documentation built on May 2, 2019, 4:16 a.m.