@hackage cropty0.3.1.0

Encryption and decryption

Cropty

A little library for doing encryption using a combination of RSA and AEP, using the cryptonite library for cryptography.

ghci> privateKey <- generatePrivateKey KeySize256
ghci> encrypt (privateToPublic privateKey) "Hello" >>= decrypt privateKey
"Hello"