| Copyright | (c) Colin Woodbury, 2015 |
|---|---|
| License | BSD3 |
| Maintainer | Colin Woodbury <colingw@gmail.com> |
| Safe Haskell | None |
| Language | Haskell2010 |
Crypto.Classical.Cipher.Affine
Description
Documentation
An Affine Cipher is a non-random Substitution Cipher, such that a
character x is mapped to a cipher character according to the equation:
f(x) = ax + b (mod 26)
Also known as a Linear Cipher.