packages feed

longshot-0.1.0.2: longshot.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.33.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 4cf3d32f97b4605f2bd729574881eb5df14e31adef0431f928343ea04e268c38

name:           longshot
version:        0.1.0.2
synopsis:       Fast Brute-force search using parallelism
description:    Longshot enables to search for preimages from a given hash value
                using a brute-force method based on parallelism.
                .
                * Support various search lengths, character sets and hashers
                * Strict mode: searches only for a given exact length
                * Deep mode: searches everything less than or equal to a given length.
                * Use @CPUs@ as much as possible. Get the most out of them!
                * Use, however, @memory@ as little as possible.
                .
                Please see the documentation at https://github.com/thyeem/longshot
                for usage example.
                .
category:       algorithm, search, cryptography, parallelism
homepage:       https://github.com/thyeem/longshot#readme
bug-reports:    https://github.com/thyeem/longshot/issues
author:         Francis Lim, Jongwhan Lee
maintainer:     thyeem@gmail.com
copyright:      Francis, 2020
license:        MIT
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    ChangeLog.md

source-repository head
  type: git
  location: https://github.com/thyeem/longshot

library
  exposed-modules:
      Crypto.Longshot
      Crypto.Longshot.Hasher
      Crypto.Longshot.Internal
      Crypto.Longshot.TH
  other-modules:
      Paths_longshot
  hs-source-dirs:
      src
  default-extensions: TemplateHaskell KindSignatures DataKinds
  build-depends:
      base >=4.12.0 && <5
    , base16-bytestring >=0.1.0 && <0.2
    , blake2 >=0.3.0 && <0.4
    , blake3 >=0.2 && <0.3
    , bytestring >=0.10.8 && <0.11
    , containers >=0.6 && <0.7
    , cryptohash-sha256 >=0.11.101 && <0.12
    , cryptonite >=0.25
    , deepseq >=1.4.4 && <1.5
    , docopt >=0.7.0 && <0.8
    , memory >=0.14.0 && <0.16
    , parallel >=3.2.2 && <3.3
    , template-haskell >=2.14.0 && <2.17
  default-language: Haskell2010

executable longshot
  main-is: Main.hs
  other-modules:
      Paths_longshot
  hs-source-dirs:
      app
  default-extensions: TemplateHaskell KindSignatures DataKinds
  ghc-options: -threaded -rtsopts -with-rtsopts=-N -dynamic -feager-blackholing -g0 -eventlog
  build-depends:
      base >=4.12.0 && <5
    , base16-bytestring >=0.1.0 && <0.2
    , blake2 >=0.3.0 && <0.4
    , blake3 >=0.2 && <0.3
    , bytestring >=0.10.8 && <0.11
    , containers >=0.6 && <0.7
    , cryptohash-sha256 >=0.11.101 && <0.12
    , cryptonite >=0.25
    , deepseq >=1.4.4 && <1.5
    , docopt >=0.7.0 && <0.8
    , longshot
    , memory >=0.14.0 && <0.16
    , parallel >=3.2.2 && <3.3
    , template-haskell >=2.14.0 && <2.17
  default-language: Haskell2010

test-suite longshot-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Paths_longshot
  hs-source-dirs:
      test
  default-extensions: TemplateHaskell KindSignatures DataKinds
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.12.0 && <5
    , base16-bytestring >=0.1.0 && <0.2
    , blake2 >=0.3.0 && <0.4
    , blake3 >=0.2 && <0.3
    , bytestring >=0.10.8 && <0.11
    , containers >=0.6 && <0.7
    , cryptohash-sha256 >=0.11.101 && <0.12
    , cryptonite >=0.25
    , deepseq >=1.4.4 && <1.5
    , docopt >=0.7.0 && <0.8
    , longshot
    , memory >=0.14.0 && <0.16
    , parallel >=3.2.2 && <3.3
    , tasty
    , tasty-hunit
    , tasty-quickcheck
    , template-haskell >=2.14.0 && <2.17
  default-language: Haskell2010