encrypt_vec | R Documentation |
Used internally to encrypt/decrypt the value column of your cookie jar.
encrypt_vec(vec)
decrypt_vec(vec)
vec |
A vector of values to encrypt |
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.
list of encrypted elements (for encrypt_vec
); vector of
decrypted elements (for encrypt_vec
).
enc <- encrypt_vec(c("foo", "bar"))
decrypt_vec(enc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.