encrypt_vec {encryptr} | R Documentation |
Encrypt a character vector using an RSA public/private key
Description
Not usually called directly.
Usage
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 |
Value
A vector of ciphertexts.
Examples
## Not run:
hospital_number = c("1010761111", "2010761212")
encrypt_vec(hospital_number)
## End(Not run)
[Package encryptr version 0.1.3 Index]