cropty: Encryption and decryption

[ crypto, cryptography, library, mit ] [ Propose Tags ]

Encryption and decryption.

[Skip to Readme]


[Index] [Quick Jump]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,,,,,
Change log
Dependencies base (>=4.12 && <5), binary (>=0.8), bytestring (>=0.10 && <1), cryptonite (>=0.27) [details]
License MIT
Copyright 2021 Samuel Schlesinger
Author Samuel Schlesinger
Category Cryptography, Crypto
Home page
Bug tracker
Source repo head: git clone
Uploaded by sgschlesinger at 2021-09-19T07:26:06Z
Distributions NixOS:
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 758 total (13 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-09-19 [all 1 reports]

Readme for cropty-

[back to package description]


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