packages feed

cryptocipher-0.2.5: cryptocipher.cabal

Name:                cryptocipher
Version:             0.2.5
Description:         Symmetrical Block, Stream and PubKey Ciphers
License:             BSD3
License-file:        LICENSE
Copyright:           Vincent Hanquez <vincent@snarc.org>
Author:              Vincent Hanquez <vincent@snarc.org>
Maintainer:          Vincent Hanquez <vincent@snarc.org>
Synopsis:            Symmetrical Block, Stream and PubKey Ciphers
Category:            Cryptography
Build-Type:          Simple
Homepage:            http://github.com/vincenthz/hs-cryptocipher
Cabal-Version:       >=1.6

Flag test
  Description:       Build unit test
  Default:           False

Library
  Build-Depends:     base >= 4 && < 5
                   , bytestring
                   , vector
                   , crypto-api >= 0.5
                   , tagged
                   , cereal
  Exposed-modules:   Crypto.Cipher.RC4
                     Crypto.Cipher.AES
                     Crypto.Cipher.Camellia
                     Crypto.Cipher.RSA
                     Crypto.Cipher.DSA
  other-modules:     Number.ModArithmetic
                     Number.Serialize
                     Number.Generate
  ghc-options:       -Wall

Executable           Tests
  Main-Is:           Tests.hs
  if flag(test)
    Buildable:       True
    Build-depends:   base >= 4 && < 5
                   , HUnit
                   , bytestring
                   , cryptohash
                   , QuickCheck >= 2
  else
    Buildable:       False

source-repository head
  type:     git
  location: git://github.com/vincenthz/hs-cryptocipher