Not usually called directly.

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

# NOT RUN {
hospital_number = c("1010761111", "2010761212")
encrypt_vec(hospital_number)
# }