beaufort: Beaufort cipher

Description Usage Arguments Value Examples

View source: R/classic.R

Description

Polyalphabetic(many ways to substitute letters) monogramic(letter by letter) cipher. Similar to Vigenere, but encrypt and decrypt are the same function.

Usage

1
beaufort(msg, key, alf_size = 26)

Arguments

msg

Message.

key

Password.

alf_size

Alphabet size.

Value

Encrypted message.

Examples

1
2
3
crypto <- beaufort(msg_en,"abc")
crypto
beaufort(crypto,"abc")

JorgeRiescoDavila/somecrypto documentation built on Jan. 10, 2022, 1:49 a.m.