packages feed

drunken-bishop-0.1.0.0: drunken-bishop.cabal

name:             drunken-bishop
version:          0.1.0.0
synopsis:         An implementation of the Drunken Bishop visual fingerprinting algorithm
description: The [Drunken Bishop](http://www.dirk-loss.de/sshvis/drunken_bishop.pdf)
             algorithm is a visual fingerprinting algorithm originally
             implemented by OpenSSH for visualizing key fingerprints. This
             package implements OpenSSH's visualization while also offering
             extra configuration to allow for specialized uses.
             .
             The Drunken Bishop algorithm was designed heuristically, and
             therefore __should not be considered cryptographically strong__.
license:          BSD3
license-file:     LICENSE
author:           Getty Ritter <drunken-bishop@infinitenegativeutility.com>
maintainer:       Getty Ritter <drunken-bishop@infinitenegativeutility.com>
copyright:        ©2020 Getty Ritter
category:         Cryptography
build-type:       Simple
cabal-version:    1.18
extra-source-files:
  README.md

library
  exposed-modules:     Data.Digest.DrunkenBishop
  ghc-options:         -Wall
  build-depends:       base >=4.7 && <5
                     , array >= 0.5.4 && <0.6
                     , bytestring >= 0.10.10 && <0.11
                     , pureMD5 >= 2.1.3 && <2.2
  default-language:    Haskell2010

flag no-exe
  description: Do not build the drunken-bishop executable
  default: True

executable drunken-bishop
  if flag(no-exe)
    buildable: False
  hs-source-dirs:      src
  main-is:             Main.hs
  ghc-options:         -Wall
  build-depends:       base >=4.7 && <5
                     , drunken-bishop
                     , bytestring >= 0.10.10 && <0.11
                     , cryptohash-sha256 >= 0.11.101 && <0.12
  default-language:    Haskell2010