powered by
Decrypt a dataframe or tibble column using an RSA public/private key
decrypt(.data, ..., private_key_path = "id_rsa", lookup_object = NULL, lookup_path = NULL)
A dataframe or tibble.
The unquoted names of columns to decrypt.
Character. A quoted path to an RSA private key created using genkeys.
genkeys
An unquote name of a lookup object in the current environment created using link{encrypt}.
link{encrypt}
Character. A quoted path to an RSA private key created using encrypt.
encrypt
The original dataframe or tibble with the specified columns decrypted.
# NOT RUN { library(dplyr) gp_encrypt = gp %>% select(-c(name, address1, address2, address3)) %>% encrypt(postcode, telephone) gp_encrypt %>% decrypt(postcode, telephone) # }
Run the code above in your browser using DataLab