name: RSA category: Cryptography, Codec version: 1.0.3 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 Library build-depends: base >= 3 && < 5, bytestring, SHA, random GHC-Options: -O2 -Wall -fno-ignore-asserts -fno-warn-orphans if flag(UseBinary) build-depends: binary CPP-Options: -DUSE_BINARY if flag(IncludeMD5) && flag(UseBinary) 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 build-depends: base >= 3 && < 5, bytestring, SHA >= 1.0.1 if flag(QuickCheck1) build-depends: QuickCheck < 2 CPP-Options: -DQUICKCHECK1 else build-depends: QuickCheck >= 2 && < 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