cropty: Encryption and decryption

[ crypto, cryptography, library, mit ] [ Propose Tags ] [ Report a vulnerability ]

Encryption and decryption.


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.1.0, 0.2.0.0, 0.3.0.0, 0.3.0.1, 0.3.0.2, 0.3.1.0
Change log CHANGELOG.md
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
Maintainer sgschlesinger@gmail.com
Category Cryptography, Crypto
Home page https://github.com/SamuelSchlesinger/cropty
Bug tracker https://github.com/SamuelSchlesinger/cropty/issues
Source repo head: git clone https://github.com/samuelschlesinger/cropty
Uploaded by sgschlesinger at 2021-09-19T07:26:06Z
Distributions NixOS:0.3.1.0
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 868 total (21 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-0.3.1.0

[back to package description]

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"