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

Version on this page:2.3.1
LTS Haskell 22.22:2.4.1@rev:2
Stackage Nightly 2024-05-21:2.4.1@rev:2
Latest on Hackage:2.4.1@rev:2

See all snapshots RSA appears in

BSD-3-Clause licensed and maintained by Adam Wick
This version can be pinned in stack with:RSA-2.3.1@sha256:08d12882ee93735e41afb981a4c73b4209ce92b11f730622cf76785db26fdb93,2463

Module documentation for 2.3.1

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).