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

[ bsd3, codec, cryptography, library ] [ Propose Tags ]
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), binary, bytestring, pureMD5, QuickCheck, random, SHA (>=1.0.1) [details]
License BSD-3-Clause
Author Adam Wick <>
Maintainer Adam Wick <>
Category Cryptography, Codec
Uploaded by AdamWick at Tue Nov 25 02:40:54 UTC 2008
Distributions Debian:2.2.0, Fedora:2.3.0, FreeBSD:, LTSHaskell:2.3.0, NixOS:2.3.0, Stackage:2.3.0, openSUSE:2.3.0
Executables test_rsa
Downloads 17678 total (154 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

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





Include support for using MD5 in the various crypto routines.


Use the binary package for serializing keys.


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