encrypt_vec {cookiemonster} | R Documentation |
Encrypts/Decrypts a vector
Description
Used internally to encrypt/decrypt the value column of your cookie jar.
Usage
encrypt_vec(vec)
decrypt_vec(vec)
Arguments
vec |
A vector of values to encrypt |
Details
If you save valuable cookies, for example login information, you
should encrypt them with a personalised password. This can be set with,
e.g., Sys.setenv("COOKIE_KEY" = "megageheim")
or in an
.Renviron file.
Value
list of encrypted elements (for encrypt_vec
); vector of
decrypted elements (for encrypt_vec
).
Examples
enc <- encrypt_vec(c("foo", "bar"))
decrypt_vec(enc)
[Package cookiemonster version 0.0.3 Index]