decrypt | R Documentation |
Decrypt an encrypted object
decrypt(src, key, additional_data = NULL)
src |
Raw vector or filename |
key |
The encryption key. This may be a character string, a 32-byte raw vector or a 64-character hex string (which encodes 32 bytes). When a shorter character string is given, a 32-byte key is derived using the Argon2 key derivation function. |
additional_data |
Additional data to include in the
authentication. Raw vector or character string. Default: NULL.
This additional data is not
included with the encrypted data, but represents an essential
component of the message authentication. The same |
A decrypted R object
key <- argon2('my key')
encrypt(mtcars, key = key) |>
decrypt(key = key)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.