Name: crypto-numbers
Version: 0.2.2
Description: Cryptographic numbers: functions and algorithms
License: BSD3
License-file: LICENSE
Copyright: Vincent Hanquez <vincent@snarc.org>
Author: Vincent Hanquez <vincent@snarc.org>
Maintainer: Vincent Hanquez <vincent@snarc.org>
Synopsis: Cryptographic numbers: functions and algorithms
Category: Cryptography
Build-Type: Simple
Homepage: http://github.com/vincenthz/hs-crypto-numbers
Cabal-Version: >=1.8
Extra-Source-Files: Tests/*.hs
Flag integer-gmp
Description: Are we using integer-gmp?
Default: True
Library
Build-Depends: base >= 4 && < 5
, bytestring
, vector
, crypto-random >= 0.0 && < 0.1
Exposed-modules: Crypto.Number.ModArithmetic
Crypto.Number.Serialize
Crypto.Number.Generate
Crypto.Number.Basic
Crypto.Number.Polynomial
Crypto.Number.F2m
Crypto.Number.Prime
if impl(ghc) && flag(integer-gmp)
Build-depends: integer-gmp
, ghc-prim
ghc-options: -Wall
Test-Suite test-crypto-numbers
type: exitcode-stdio-1.0
hs-source-dirs: Tests
Main-Is: Tests.hs
Build-depends: base >= 4 && < 5
, crypto-random
, crypto-numbers
, bytestring
, byteable
, vector
, QuickCheck >= 2
, HUnit
, test-framework >= 0.3.3
, test-framework-quickcheck2 >= 0.2.9
, test-framework-hunit
ghc-options: -Wall -O2
Benchmark bench-crypto-numbers
hs-source-dirs: Benchmarks
Main-Is: Benchmarks.hs
type: exitcode-stdio-1.0
Build-depends: base >= 4 && < 5
, bytestring
, crypto-numbers
, criterion
, mtl
source-repository head
type: git
location: git://github.com/vincenthz/hs-crypto-numbers