Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samuelschlesinger/cropty
A command line tool and Haskell library exposing useful cryptographic functions.
https://github.com/samuelschlesinger/cropty
Last synced: 22 days ago
JSON representation
A command line tool and Haskell library exposing useful cryptographic functions.
- Host: GitHub
- URL: https://github.com/samuelschlesinger/cropty
- Owner: SamuelSchlesinger
- License: mit
- Created: 2020-10-11T09:15:40.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-21T02:28:07.000Z (over 3 years ago)
- Last Synced: 2024-04-26T01:31:08.114Z (8 months ago)
- Language: Haskell
- Size: 47.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Cropty
A little library for doing encryption using a combination of RSA and AEP, using the
[cryptonite](https://hackage.haskell.org/package/cryptonite) library for cryptography.```haskell
ghci> privateKey <- generatePrivateKey KeySize256
ghci> encrypt (privateToPublic privateKey) "Hello" >>= decrypt privateKey
"Hello"
```