vigenere: Encrypt or decrypt a string using a key

Description Usage Arguments Value Examples

View source: R/text_manipulation.R

Description

Encrypt or decrypt a string using a key

Usage

1
vigenere(x, key, decrypt = TRUE, alphabet = standard_alphabet)

Arguments

x

A string to encrypt or decrypt

key

The encryption or decryption key

decrypt

Are you decrypting an encrypted string?

alphabet

A list of letters in lower and upper case

Value

A string

Examples

1
2
vigenere("MN vdopf wq brcep zwtcd.", "midway")
vigenere("My treasure is buried he... find it who may.", "La Bouche", decrypt = FALSE)

AlunHewinson/geocacheR documentation built on Feb. 17, 2020, 6:12 p.m.