simple_encode_base64: Simple encoder base64library

View source: R/calculation_definitions.R

simple_encode_base64R Documentation

Simple encoder base64library

Description

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

Usage

simple_encode_base64(msg, key = NULL, nonce = NULL)

Arguments

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

Value

- the encrypted text.

returns NA for elements of msg which are NA


DavidPatShuiFong/dMeasure documentation built on Aug. 2, 2024, 11:45 p.m.