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)
Value
a string
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.