autokey: Vigenere autokey cipher

Description Usage Arguments Value Examples

View source: R/classic.R

Description

Polyalphabetic, monogramic, aperiodic cipher. Plain text becomes part of the key.

Usage

1
autokey(msg, key, decrypt = FALSE, alf_size = 26)

Arguments

msg

Message.

key

Password.

decrypt

Encrypt or decrypt mode.

alf_size

Alphabet size.

Value

Encrypted message.

Examples

1
2
3
crypto <- autokey(msg_en,"abc")
crypto
autokey(crypto,"abc",decrypt=TRUE)

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