RSA

Implementation of RSA, using the padding schemes of PKCS#1 v2.1.

Version on this page:2.1.0.3
LTS Haskell 15.13:2.4.1
Stackage Nightly 2020-05-26:2.4.1
Latest on Hackage:2.4.1

See all snapshots RSA appears in

BSD-3-Clause licensed and maintained by Adam Wick

Module documentation for 2.1.0.3

This version can be pinned in stack with:[email protected]:e1cc55e0f678d2c3f453a1b5cffa99d504e83d806d0310a19112a4cbfa8cb8ba,2551

This library implements the RSA encryption and signature algorithms for arbitrarily-sized ByteStrings. While the implementations work, they are not necessarily the fastest ones on the planet. Particularly key generation. The algorithms included are based of RFC 3447, or the Public-Key Cryptography Standard for RSA, version 2.1 (a.k.a, PKCS#1 v2.1).