View source: R/calculation_definitions.R
simple_encode | R Documentation |
Simple encode of text strings, will output a text string. Uses sodium library and base64_enc/dec from jsonlite. Has some defaults, but will also take command-line arguments or read from environment
simple_encode(msg, key = NULL, nonce = NULL)
msg |
the text to encode |
key |
the cipher, which can be set manually, otherwise will read from env |
nonce |
a non-secret unique data value used to randomize the cipher |
- the encrypted text.
returns NA for elements of msg which are NA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.