Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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"
```