/var/lib/ghc/package.conf.d/cryptohash-0.11.2.conf is in libghc-cryptohash-dev 0.11.2-1.
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 66 67 68 | name: cryptohash
version: 0.11.2
id: cryptohash-0.11.2-8dff2d2fe7f5b7f7ebbbe52e0f095f67
license: BSD3
copyright: Vincent Hanquez <vincent@snarc.org>
maintainer: Vincent Hanquez <vincent@snarc.org>
stability:
homepage: http://github.com/vincenthz/hs-cryptohash
package-url:
synopsis: collection of crypto hashes, fast, pure and practical
description: 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.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
hidden-modules: Crypto.Hash.Utils Crypto.Hash.Utils.Cpu
Crypto.Hash.Internal
trusted: False
import-dirs: /usr/lib/haskell-packages/ghc/lib/cryptohash-0.11.2/ghc-7.6.3
library-dirs: /usr/lib/haskell-packages/ghc/lib/cryptohash-0.11.2/ghc-7.6.3
hs-libraries: HScryptohash-0.11.2
extra-libraries:
extra-ghci-libraries:
include-dirs:
includes:
depends: base-4.6.0.1-8aa5d403c45ea59dcd2c39f123e27d57
byteable-0.1.1-d4755477dc4e2aac49eac498fa9d9b71
bytestring-0.10.0.2-4f93248f75667c2c3321a7a6761b576f
ghc-prim-0.3.0.0-d5221a8c8a269b66ab9a07bdc23317dd
hugs-options:
cc-options:
ld-options:
framework-dirs:
frameworks:
haddock-interfaces: /usr/lib/ghc-doc/haddock/cryptohash-0.11.2/cryptohash.haddock
haddock-html: /usr/share/doc/libghc-cryptohash-doc/html/
|