vigenere {ciphertext} | R Documentation |
vigenere
Description
Vigenère cipher is a method of encrypting alphabetic text where each letter of the plaintext is encoded with a different Caesar cipher, whose increment is determined by the corresponding letter the key
Usage
vigenere(word, key, encrypt = TRUE)
Arguments
word |
Word or phrase to be encrypted |
key |
character key |
encrypt |
If 'TRUE' (default), the program ciphers the input word, If 'FALSE', the program decrypts it. |
Value
a string
References
https://en.wikipedia.org/wiki/Vigen
Examples
vigenere("hello world", "opla")
[Package ciphertext version 0.1.1 Index]