The RSA package

[Tags:bsd3, library, test]

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


Versions 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6,,,,,,, 2, 2.0, 2.0.0, 2.1.0,,,, 2.2.0, 2.3.0
Dependencies base (>=3 && <5), binary, bytestring, crypto-api (>=0.10), crypto-pubkey-types (>=0.2), DRBG (>=0.2.3 && <0.4), monadcryptorandom, pureMD5, QuickCheck (==2.*), SHA, tagged (>=0.2.3 && <0.5), test-framework (>=0.3 && <0.7), test-framework-quickcheck2 (>=0.2 && <0.7) [details]
License BSD3
Author Adam Wick <>
Maintainer Adam Wick <>
Category Cryptography, Codec
Source repository head: git clone git://
Uploaded Fri Nov 16 17:40:48 UTC 2012 by AdamWick
Distributions Debian:2.2.0, FreeBSD:, LTSHaskell:2.2.0, NixOS:2.3.0, Stackage:2.3.0, Tumbleweed:2.2.0
Downloads 11994 total (880 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




testBuilding the test programDisabledAutomatic
includemd5Include support for using MD5 in the various crypto routines.EnabledAutomatic
usebinaryUse the binary package for serializing keys.EnabledAutomatic
oldbaseWhether or not to use base 3 (default: no)DisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees