setcode: Encrypt a message

Description Usage Arguments Value Examples

View source: R/secrettext_funs.R

Description

Encrypt a character string given two numeric keys.

Usage

1
setcode(text, key1, key2)

Arguments

text

A string

key1

A numeric value between 1 and 25

key2

A numeric value between 1 and 25

Value

A string, converted to lowercase and encrypted

Examples

1
setcode("hello world", 5, 16)

secrettext documentation built on March 26, 2020, 6:02 p.m.