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

[ bsd3, codec, cryptography, library ] [ Propose Tags ]

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, 1.0.6.1, 1.0.6.2, 1.0.6.3, 1.2.0.0, 1.2.1.0, 1.2.2.0, 2, 2.0, 2.0.0, 2.1.0, 2.1.0.1, 2.1.0.2, 2.1.0.3, 2.2.0, 2.3.0
Dependencies base (>=3 && <5), binary, bytestring, crypto-api (>=0.10), crypto-pubkey-types, 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 BSD-3-Clause
Author Adam Wick <awick@galois.com>
Maintainer Adam Wick <awick@galois.com>
Category Cryptography, Codec
Source repo head: git clone git://github.com/GaloisInc/RSA.git
Uploaded by AdamWick at Tue Apr 24 22:28:56 UTC 2012
Distributions Debian:2.2.0, Fedora:2.3.0, FreeBSD:2.1.0.1, LTSHaskell:2.3.0, NixOS:2.3.0, Stackage:2.3.0, openSUSE:2.3.0
Executables test_rsa
Downloads 17813 total (135 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

Modules

[Index]

Flags

NameDescriptionDefaultType
test

Building the test program

DisabledAutomatic
includemd5

Include support for using MD5 in the various crypto routines.

EnabledAutomatic
usebinary

Use the binary package for serializing keys.

EnabledAutomatic
oldbase

Whether 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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees