caesar: caesar

View source: R/caesar.R

caesarR Documentation

caesar

Description

caesar encryption

Usage

caesar(word, key = 1, encrypt = TRUE)

Arguments

word

Word or phrase to be encrypted

key

numeric key

encrypt

If 'TRUE' (default), the program ciphers the input word, If 'FALSE', the program decrypts it.

Value

a string

Examples

caesar("Hello", 1)


ciphertext documentation built on April 4, 2025, 12:17 a.m.