name: RSA category: Cryptography, Codec version: 1.0.6 license: BSD3 license-file: LICENSE author: Adam Wick maintainer: Adam Wick stability: stable build-type: Simple cabal-version: >= 1.2 tested-with: GHC ==6.8.0 synopsis: Implementation of RSA, using the padding schemes of PKCS#1 v2.1. description: 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). Flag SkipTests Default: True Description: Skip building the test program Flag IncludeMD5 Description: Include support for using MD5 in the various crypto routines. Flag UseBinary Description: Use the binary package for serializing keys. Flag QuickCheck1 Description: Whether this is QuickCheck 1 or not Default: False Flag OldBase Description: Whether or not to use base 3 (default: no) Default: False Library build-depends: bytestring, random GHC-Options: -O2 -Wall -fno-ignore-asserts -fno-warn-orphans if flag(OldBase) build-depends: base >= 3 && < 4, SHA < 1.4.1 else build-depends: base >= 4 && < 5, SHA if flag(UseBinary) build-depends: binary CPP-Options: -DUSE_BINARY if flag(IncludeMD5) && flag(UseBinary) if flag(OldBase) build-depends: pureMD5 < 1.1 else build-depends: pureMD5 CPP-Options: -DINCLUDE_MD5 exposed-modules: Codec.Crypto.RSA extensions: CPP, BangPatterns, ScopedTypeVariables Executable test_rsa if flag(SkipTests) Buildable: False else if flag(OldBase) build-depends: base >= 3 && < 4, SHA < 1.4.1 else build-depends: base >= 4 && < 5, SHA build-depends: bytestring, test-framework >= 0.3 && < 0.4 if flag(QuickCheck1) build-depends: QuickCheck < 2, test-framework-quickcheck >= 0.2.6 && < 0.3 CPP-Options: -DQUICKCHECK1 else build-depends: QuickCheck >= 2 && < 3, test-framework-quickcheck2 >= 0.2.7 && < 0.3 GHC-Options: -O2 -Wall -fno-ignore-asserts -fno-warn-orphans CPP-Options: -DRSA_TEST Main-Is: Test.hs Other-Modules: Codec.Crypto.RSA extensions: CPP, BangPatterns, ScopedTypeVariables