/usr/share/doc/libghc-cryptohash-doc/html/Crypto-Hash-SHA1.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 | <!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>Crypto.Hash.SHA1</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();setSynopsis("mini_Crypto-Hash-SHA1.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Crypto-Hash-SHA1.html">Source</a></li><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="module-header"><table class="info"><tr><th>Portability</th><td>unknown</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Maintainer</th><td>Vincent Hanquez <vincent@snarc.org></td></tr><tr><th>Safe Haskell</th><td>Trustworthy</td></tr></table><p class="caption">Crypto.Hash.SHA1</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Incremental hashing Functions
</a></li><li><a href="#g:2">Single Pass hashing
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>A module containing SHA1 bindings
</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">newtype</span> <a href="#t:Ctx">Ctx</a> = <a href="#v:Ctx">Ctx</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a></li><li class="src short"><a href="#v:init">init</a> :: <a href="Crypto-Hash-SHA1.html#t:Ctx">Ctx</a></li><li class="src short"><a href="#v:update">update</a> :: <a href="Crypto-Hash-SHA1.html#t:Ctx">Ctx</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="Crypto-Hash-SHA1.html#t:Ctx">Ctx</a></li><li class="src short"><a href="#v:updates">updates</a> :: <a href="Crypto-Hash-SHA1.html#t:Ctx">Ctx</a> -> [<a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash-SHA1.html#t:Ctx">Ctx</a></li><li class="src short"><a href="#v:finalize">finalize</a> :: <a href="Crypto-Hash-SHA1.html#t:Ctx">Ctx</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a></li><li class="src short"><a href="#v:hash">hash</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a></li><li class="src short"><a href="#v:hashlazy">hashlazy</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">newtype</span> <a name="t:Ctx" class="def">Ctx</a> <a href="src/Crypto-Hash-SHA1.html#Ctx" class="link">Source</a></p><div class="doc"><p>SHA1 Context
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Ctx" class="def">Ctx</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc empty"> </td></tr></table></div></div><h1 id="g:1">Incremental hashing Functions
</h1><div class="top"><p class="src"><a name="v:init" class="def">init</a> :: <a href="Crypto-Hash-SHA1.html#t:Ctx">Ctx</a><a href="src/Crypto-Hash-SHA1.html#init" class="link">Source</a></p><div class="doc"><p>init a context
</p></div></div><div class="top"><p class="src"><a name="v:update" class="def">update</a> :: <a href="Crypto-Hash-SHA1.html#t:Ctx">Ctx</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="Crypto-Hash-SHA1.html#t:Ctx">Ctx</a><a href="src/Crypto-Hash-SHA1.html#update" class="link">Source</a></p><div class="doc"><p>update a context with a bytestring
</p></div></div><div class="top"><p class="src"><a name="v:updates" class="def">updates</a> :: <a href="Crypto-Hash-SHA1.html#t:Ctx">Ctx</a> -> [<a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash-SHA1.html#t:Ctx">Ctx</a><a href="src/Crypto-Hash-SHA1.html#updates" class="link">Source</a></p><div class="doc"><p>updates a context with multiples bytestring
</p></div></div><div class="top"><p class="src"><a name="v:finalize" class="def">finalize</a> :: <a href="Crypto-Hash-SHA1.html#t:Ctx">Ctx</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a><a href="src/Crypto-Hash-SHA1.html#finalize" class="link">Source</a></p><div class="doc"><p>finalize the context into a digest bytestring
</p></div></div><h1 id="g:2">Single Pass hashing
</h1><div class="top"><p class="src"><a name="v:hash" class="def">hash</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a><a href="src/Crypto-Hash-SHA1.html#hash" class="link">Source</a></p><div class="doc"><p>hash a strict bytestring into a digest bytestring
</p></div></div><div class="top"><p class="src"><a name="v:hashlazy" class="def">hashlazy</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a><a href="src/Crypto-Hash-SHA1.html#hashlazy" class="link">Source</a></p><div class="doc"><p>hash a lazy bytestring into a digest bytestring
</p></div></div></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>
|