File: Crypto.cabal

package info (click to toggle)
haskell-crypto 4.2.5.1-7
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 320 kB
  • ctags: 4
  • sloc: haskell: 2,949; makefile: 2
file content (60 lines) | stat: -rwxr-xr-x 2,267 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Name:            Crypto
Version:         4.2.5.1
License:         OtherLicense
License-File:    ReadMe.tex
Author:          Dominic Steinitz
Maintainer:      Caylee Hogg <caylee.hogg@gmail.com>
Copyright:       Dominic Steinitz 2003 - 2007

Stability:       Alpha
Category:        Cryptography, Codec
Synopsis:        Collects together existing Haskell cryptographic functions into a package
Description:     DES, Blowfish, AES, TEA, SHA1, MD5, RSA, BubbleBabble,
                 Hexdump, Support for Word128, Word192 and Word256 and Beyond, PKCS5
                 Padding, Various Encryption Modes e.g. Cipher Block Chaining all in one package,
                 with HUnit and QuickCheck tests, and examples.
Data-Files:      CryptoHomePage.html

Build-Type:      Simple
Cabal-Version:   >= 1.2
Tested-With:     GHC==6.8.2 GHC==6.10.1

flag small_base
        description: choose the new smaller, split-up base package.

Library
        Exposed-Modules:
                 Codec.Binary.BubbleBabble,
                 Codec.Encryption.RSA,
                 Codec.Encryption.RSA.EMEOAEP,
                 Codec.Encryption.RSA.MGF,
                 Codec.Encryption.RSA.NumberTheory,
                 Codec.Encryption.DES,
                 Codec.Encryption.AES,
                 Codec.Encryption.TEA,
                 Codec.Encryption.Blowfish,
                 Codec.Encryption.Modes,
                 Codec.Encryption.Padding,
                 Codec.Text.Raw,
                 Codec.Utils,
                 Data.Digest.MD5,
                 Data.Digest.SHA1,
                 Data.Digest.SHA2,
                 Data.Digest.SHA224,
                 Data.Digest.SHA256,
                 Data.Digest.SHA384,
                 Data.Digest.SHA512,
                 Data.LargeWord,
                 Data.HMAC
        Build-Depends:  HUnit
        if flag(small_base)
            Build-Depends: base >= 3, base < 5, array, random, pretty
        else
            Build-Depends: base < 3
        Ghc-options:     -fregs-graph
        Extensions: FlexibleInstances, TypeSynonymInstances 
        Other-modules:
                 Codec.Encryption.BlowfishAux,
                 Codec.Encryption.DESAux,
                 Codec.Encryption.AESAux,
                 Data.Digest.MD5Aux