Copyright | (c) Colin Woodbury, 2015 |
---|---|
License | BSD3 |
Maintainer | Colin Woodbury <colingw@gmail.com> |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
A simple Shift Cipher. The key is a number by which to shift each letter in the alphabet. Example:
>>>
encrypt 3 "ABCDEFGHIJKLMNOPQRSTUVWXYZ" ^. caesar
"DEFGHIJKLMNOPQRSTUVWXYZABC"