Copyright | (c) Colin Woodbury 2015 - 2020 |
---|---|
License | BSD3 |
Maintainer | Colin Woodbury <colin@fosskers.ca> |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
A Vigenère Cipher is just a Stream Cipher with a finite key, shorter than the length of the plaintext. The key is repeated for the entire length of the plaintext.
Instances
Monad Vigenère Source # | |
Functor Vigenère Source # | |
Applicative Vigenère Source # | |
Eq a => Eq (Vigenère a) Source # | |
Show a => Show (Vigenère a) Source # | |
Cipher [ℤ / 26] Vigenère Source # | |
Defined in Crypto.Classical.Cipher.Vigenere encrypt :: [ℤ / 26] -> ByteString -> Vigenère ByteString Source # decrypt :: [ℤ / 26] -> ByteString -> Vigenère ByteString Source # |