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, decrypt = FALSE)
Arguments
word |
Word or phrase to be encrypted |
key |
character key |
decrypt |
If 'FALSE' (default), the program ciphers the input word, If 'TRUE', the program decrypts it. |
Value
a string
References
https://en.wikipedia.org/wiki/Vigen
Examples
vigenere("hello world", "opla")
[Package ciphertext version 0.1.0 Index]