cryptopals

Matasano's cryptopals challenges (cryptopals.com).
git clone git://git.jtobin.io/cryptopals.git
Log | Files | Refs | README | LICENSE

cryptopals.cabal (4537B)


      1 name:                cryptopals
      2 version:             0.1.0
      3 synopsis:            Matasano's cryptopals exercises
      4 homepage:            http://github.com/jtobin/cryptopals
      5 license:             MIT
      6 license-file:        LICENSE
      7 author:              Jared Tobin
      8 maintainer:          jared@jtobin.io
      9 build-type:          Simple
     10 cabal-version:       >= 1.10
     11 
     12 library
     13   default-language:    Haskell2010
     14   default-extensions:
     15     BangPatterns
     16     DeriveGeneric
     17     LambdaCase
     18     OverloadedStrings
     19     RankNTypes
     20     RecordWildCards
     21     ViewPatterns
     22   hs-source-dirs:
     23     lib
     24   exposed-modules:
     25       Cryptopals.AES
     26     , Cryptopals.Block.Attacks
     27     , Cryptopals.Block.Tools
     28     , Cryptopals.DH
     29     , Cryptopals.DH.Core
     30     , Cryptopals.DH.Session
     31     , Cryptopals.Digest.Pure.MD4
     32     , Cryptopals.Digest.Pure.SHA
     33     , Cryptopals.DSA
     34     , Cryptopals.DSA.Attacks
     35     , Cryptopals.MAC
     36     , Cryptopals.MAC.Attacks
     37     , Cryptopals.RSA
     38     , Cryptopals.RSA.Attacks
     39     , Cryptopals.SRP
     40     , Cryptopals.SRP.Simple
     41     , Cryptopals.Stream.Attacks
     42     , Cryptopals.Stream.RNG
     43     , Cryptopals.Stream.RNG.MT19937
     44     , Cryptopals.Util
     45     , Cryptopals.Util.ByteString
     46     , Cryptopals.Util.Similarity
     47     , Pipes.Network
     48   build-depends:
     49       base
     50     , base16
     51     , base64
     52     , binary
     53     , bytestring
     54     , containers
     55     , cryptonite
     56     , HTTP
     57     , integer-logarithms
     58     , integer-roots
     59     , mwc-random
     60     , network
     61     , network-simple
     62     , pipes
     63     , pipes-binary
     64     , pipes-parse
     65     , primitive
     66     , text
     67     , time
     68     , transformers
     69     , unordered-containers
     70     , vector
     71 
     72 executable fixed-xor
     73   main-is:           FixedXor.hs
     74   ghc-options:       -Wall -O2
     75   default-language:  Haskell2010
     76   hs-source-dirs:    src
     77   build-depends:
     78       base
     79     , base16
     80     , bytestring
     81     , cryptopals
     82     , optparse-applicative
     83     , text
     84 
     85 executable break-single-byte-xor
     86   main-is:           BreakSingleByteXor.hs
     87   ghc-options:       -Wall -O2
     88   default-language:  Haskell2010
     89   hs-source-dirs:    src
     90   build-depends:
     91       base
     92     , base16
     93     , bytestring
     94     , cryptopals
     95     , optparse-applicative
     96     , text
     97 
     98 executable byte-frequency
     99   main-is:           ByteFrequency.hs
    100   ghc-options:       -Wall -O2
    101   default-language:  Haskell2010
    102   hs-source-dirs:    src
    103   build-depends:
    104       base
    105     , base16
    106     , bytestring
    107     , cryptopals
    108     , optparse-applicative
    109     , text
    110 
    111 executable detect-single-byte-xor
    112   main-is:           DetectSingleByteXor.hs
    113   ghc-options:       -Wall -O2
    114   default-language:  Haskell2010
    115   hs-source-dirs:    src
    116   build-depends:
    117       base
    118     , base16
    119     , bytestring
    120     , cryptopals
    121     , optparse-applicative
    122     , text
    123 
    124 executable repeating-key-xor
    125   main-is:           RepeatingKeyXor.hs
    126   ghc-options:       -Wall -O2
    127   default-language:  Haskell2010
    128   hs-source-dirs:    src
    129   build-depends:
    130       base
    131     , base16
    132     , bytestring
    133     , cryptopals
    134     , optparse-applicative
    135     , text
    136 
    137 executable detect-repeating-key-xor-keysize
    138   main-is:           DetectRepeatingKeyXorKeysize.hs
    139   ghc-options:       -Wall -O2
    140   default-language:  Haskell2010
    141   hs-source-dirs:    src
    142   build-depends:
    143       base
    144     , base64
    145     , bytestring
    146     , cryptopals
    147     , optparse-applicative
    148     , text
    149 
    150 executable rotate
    151   main-is:           Rotate.hs
    152   ghc-options:       -Wall -O2
    153   default-language:  Haskell2010
    154   hs-source-dirs:    src
    155   build-depends:
    156       base
    157     , base16
    158     , bytestring
    159     , cryptopals
    160     , optparse-applicative
    161     , text
    162 
    163 executable aes
    164   main-is:           AES.hs
    165   ghc-options:       -Wall -O2
    166   default-language:  Haskell2010
    167   hs-source-dirs:    src
    168   build-depends:
    169       base
    170     , base16
    171     , bytestring
    172     , cryptopals
    173     , optparse-applicative
    174     , text
    175 
    176 executable pkcs7
    177   main-is:           Pkcs7.hs
    178   ghc-options:       -Wall -O2
    179   default-language:  Haskell2010
    180   hs-source-dirs:    src
    181   build-depends:
    182       base
    183     , base16
    184     , bytestring
    185     , cryptopals
    186     , optparse-applicative
    187     , text
    188 
    189 executable mt19937
    190   main-is:           MT19937.hs
    191   ghc-options:       -Wall -O2
    192   default-language:  Haskell2010
    193   hs-source-dirs:    src
    194   build-depends:
    195       base
    196     , cryptopals
    197     , optparse-applicative
    198     , text
    199 
    200 executable offline-dictionary-attack
    201   main-is:           OfflineDictionaryAttack.hs
    202   ghc-options:       -Wall -O2
    203   default-language:  Haskell2010
    204   hs-source-dirs:    src
    205   build-depends:
    206       base
    207     , base16
    208     , binary
    209     , bytestring
    210     , cryptopals
    211     , optparse-applicative
    212     , text
    213     , unordered-containers
    214