The crypto-classical package

[Tags:bsd3, library]

An educational tool for studying classical cryptography schemes. Do not encrypt anything of worth with this library.

Included Ciphers:

Thanks to polymorphism, we can generate keys and encrypt ByteStrings without worrying much about types:

 > import Crypto.Classical
 > import Lens.Micro
 > :set -XOverloadedStrings
 > (\k -> encrypt k "What a great day for an attack!" ^. enigma) . key <$> prng
 "PXQS D KXSGB CFC AYK XJ DEGMON!"
 > (\k -> encrypt k "What a great day for an attack!" ^. caesar) . key <$> prng
 "RCVO V BMZVO YVT AJM VI VOOVXF!"

Properties

Versions 0.0.1, 0.0.2, 0.0.3, 0.1.0, 0.2.0
Dependencies base (>=4.7 && <4.9), bytestring, containers (>=0.5.5.1), crypto-numbers (>=0.2.7), crypto-random, microlens (>=0.2.0.0), microlens-th (>=0.2.1.1), modular-arithmetic (>=1.2.0.0), QuickCheck (>=2.8.1), random, random-shuffle (>=0.0.4), text (>=1.2.0.4), transformers (>=0.4.2.0) [details]
License BSD3
Author Colin Woodbury
Maintainer colingw@gmail.com
Category Cryptography
Home page https://github.com/fosskers/crypto-classical
Source repository head: git clone git://github.com/fosskers/crypto-classical.git
Uploaded Mon Jan 11 18:14:39 UTC 2016 by fosskers
Distributions NixOS:0.2.0
Downloads 565 total (13 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2016-01-11 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees