/usr/share/doc/libghc-cryptohash-doc/html/index.html is in libghc-cryptohash-doc 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 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>cryptohash-0.11.2: collection of crypto hashes, fast, pure and practical</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">cryptohash-0.11.2: collection of crypto hashes, fast, pure and practical</p></div><div id="content"><div id="description"><h1>cryptohash-0.11.2: collection of crypto hashes, fast, pure and practical</h1><div class="doc"><p>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.
</p><p>The implementations are made in C with a haskell FFI wrapper that hide the C implementation.
</p><p>Simple examples using the unified API:
</p><pre> import Crypto.Hash
sha1 :: ByteString -> Digest SHA1
sha1 = hash
hexSha3_512 :: ByteString -> String
hexSha3_512 bs = show (hash bs :: Digest SHA3_512)
</pre><p>Simple examples using the module API:
</p><pre> import qualified Crypto.Hash.SHA1 as SHA1
main = putStrLn $ show $ SHA1.hash (Data.ByteString.pack [0..255])
</pre><pre> 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
</pre></div></div><div id="module-list"><p class="caption">Modules</p><ul><li><span id="control.n.1" class="module collapser" onclick="toggleSection('n.1')">Crypto</span><ul id="section.n.1" class="show"><li><span class="module"><span id="control.n.1.1" class="collapser" onclick="toggleSection('n.1.1')"> </span><a href="Crypto-Hash.html">Crypto.Hash</a></span><ul id="section.n.1.1" class="show"><li><span class="module"><a href="Crypto-Hash-MD2.html">Crypto.Hash.MD2</a></span></li><li><span class="module"><a href="Crypto-Hash-MD4.html">Crypto.Hash.MD4</a></span></li><li><span class="module"><a href="Crypto-Hash-MD5.html">Crypto.Hash.MD5</a></span></li><li><span class="module"><a href="Crypto-Hash-RIPEMD160.html">Crypto.Hash.RIPEMD160</a></span></li><li><span class="module"><a href="Crypto-Hash-SHA1.html">Crypto.Hash.SHA1</a></span></li><li><span class="module"><a href="Crypto-Hash-SHA224.html">Crypto.Hash.SHA224</a></span></li><li><span class="module"><a href="Crypto-Hash-SHA256.html">Crypto.Hash.SHA256</a></span></li><li><span class="module"><a href="Crypto-Hash-SHA3.html">Crypto.Hash.SHA3</a></span></li><li><span class="module"><a href="Crypto-Hash-SHA384.html">Crypto.Hash.SHA384</a></span></li><li><span class="module"><a href="Crypto-Hash-SHA512.html">Crypto.Hash.SHA512</a></span></li><li><span class="module"><a href="Crypto-Hash-SHA512t.html">Crypto.Hash.SHA512t</a></span></li><li><span class="module"><a href="Crypto-Hash-Skein256.html">Crypto.Hash.Skein256</a></span></li><li><span class="module"><a href="Crypto-Hash-Skein512.html">Crypto.Hash.Skein512</a></span></li><li><span class="module"><a href="Crypto-Hash-Tiger.html">Crypto.Hash.Tiger</a></span></li><li><span class="module"><a href="Crypto-Hash-Types.html">Crypto.Hash.Types</a></span></li><li><span class="module"><a href="Crypto-Hash-Whirlpool.html">Crypto.Hash.Whirlpool</a></span></li></ul></li><li><span id="control.n.1.2" class="module collapser" onclick="toggleSection('n.1.2')">MAC</span><ul id="section.n.1.2" class="show"><li><span class="module"><a href="Crypto-MAC-HMAC.html">Crypto.MAC.HMAC</a></span></li></ul></li></ul></li></ul></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.13.2</p></div></body></html>
|