/var/lib/ghc/package.conf.d/cryptohash-0.11.9.conf is in libghc-cryptohash-dev 0.11.9-4build7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 61 62 63 64 65 | name: cryptohash
version: 0.11.9
id: cryptohash-0.11.9-2IuGTWbxu4p8e4fv5lhkbV
key: cryptohash-0.11.9-2IuGTWbxu4p8e4fv5lhkbV
license: BSD3
copyright: Vincent Hanquez <vincent@snarc.org>
maintainer: Vincent Hanquez <vincent@snarc.org>
homepage: http://github.com/vincenthz/hs-cryptohash
synopsis: collection of crypto hashes, fast, pure and practical
description:
DEPRECATED: this library is still fully functional, but please use cryptonite for new projects
and convert old one to use cryptonite. This is where things are at nowadays.
.
A collection of crypto hashes, with a practical incremental and one-pass, pure APIs,
with performance close to the fastest implementations available in other languages.
.
The implementations are made in C with a haskell FFI wrapper that hide the C implementation.
.
Simple examples using the unified API:
.
> import Crypto.Hash
>
> sha1 :: ByteString -> Digest SHA1
> sha1 = hash
>
> hexSha3_512 :: ByteString -> String
> hexSha3_512 bs = show (hash bs :: Digest SHA3_512)
.
Simple examples using the module API:
.
> import qualified Crypto.Hash.SHA1 as SHA1
>
> main = putStrLn $ show $ SHA1.hash (Data.ByteString.pack [0..255])
.
> import qualified Crypto.Hash.SHA3 as SHA3
>
> main = putStrLn $ show $ digest
> where digest = SHA3.finalize ctx
> ctx = foldl' SHA3.update iCtx (map Data.ByteString.pack [ [1,2,3], [4,5,6] ]
> iCtx = SHA3.init 224
category: Data, Cryptography
author: Vincent Hanquez <vincent@snarc.org>
exposed: True
exposed-modules:
Crypto.Hash Crypto.Hash.Types Crypto.MAC Crypto.Hash.SHA1
Crypto.Hash.SHA224 Crypto.Hash.SHA256 Crypto.Hash.SHA384
Crypto.Hash.SHA512 Crypto.Hash.SHA512t Crypto.Hash.SHA3
Crypto.Hash.MD2 Crypto.Hash.MD4 Crypto.Hash.MD5
Crypto.Hash.RIPEMD160 Crypto.Hash.Skein256 Crypto.Hash.Skein512
Crypto.Hash.Tiger Crypto.Hash.Whirlpool Crypto.MAC.HMAC
Crypto.MAC.SHA3
hidden-modules: Crypto.Hash.Internal
abi: 546c60ebb364d61ed2c232c327e088ee
trusted: False
import-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.0.2/cryptohash-0.11.9-2IuGTWbxu4p8e4fv5lhkbV
library-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.0.2/cryptohash-0.11.9-2IuGTWbxu4p8e4fv5lhkbV
dynamic-library-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.0.2
data-dir: /usr/share/cryptohash
hs-libraries: HScryptohash-0.11.9-2IuGTWbxu4p8e4fv5lhkbV
depends:
base-4.9.1.0 byteable-0.1.1-2lU1pexQSLj1KbNO17UifQ
bytestring-0.10.8.1 cryptonite-0.23-Hf4isO3pAGx446gNggQFBj
ghc-prim-0.5.0.0 memory-0.14.11-8AGdHgntVnC94lQ3k423XF
haddock-interfaces: /usr/lib/ghc-doc/haddock/cryptohash-0.11.9/cryptohash.haddock
haddock-html: /usr/share/doc/libghc-cryptohash-doc/html/
|