This file is indexed.

/usr/share/doc/libghc-cryptohash-doc/html/Crypto-MAC-SHA3.html is in libghc-cryptohash-doc 0.11.6-6.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

1
2
3
4
<!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.MAC.SHA3</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-MAC-SHA3.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Crypto-MAC-SHA3.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.6: collection of crypto hashes, fast, pure and practical</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>License</th><td>BSD-style</td></tr><tr><th>Maintainer</th><td>Vincent Hanquez &lt;vincent@snarc.org&gt;</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Portability</th><td>unknown</td></tr><tr><th>Safe Haskell</th><td>Trustworthy</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Crypto.MAC.SHA3</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>provide a simple SHA3 MAC mechanism with</p><pre>mac = hash(key|message)</pre></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">data</span> <a href="#t:MAC512">MAC512</a> = <a href="#v:MAC512">MAC512</a> {<ul class="subs"><li><a href="#v:getDigest512">getDigest512</a> :: <a href="Crypto-Hash-Types.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:MAC384">MAC384</a> = <a href="#v:MAC384">MAC384</a> {<ul class="subs"><li><a href="#v:getDigest384">getDigest384</a> :: <a href="Crypto-Hash-Types.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:MAC256">MAC256</a> = <a href="#v:MAC256">MAC256</a> {<ul class="subs"><li><a href="#v:getDigest256">getDigest256</a> :: <a href="Crypto-Hash-Types.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:MAC224">MAC224</a> = <a href="#v:MAC224">MAC224</a> {<ul class="subs"><li><a href="#v:getDigest224">getDigest224</a> :: <a href="Crypto-Hash-Types.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a></li></ul>}</li><li class="src short"><a href="#v:mac512">mac512</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="Crypto-MAC-SHA3.html#t:MAC512">MAC512</a></li><li class="src short"><a href="#v:mac384">mac384</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="Crypto-MAC-SHA3.html#t:MAC384">MAC384</a></li><li class="src short"><a href="#v:mac256">mac256</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="Crypto-MAC-SHA3.html#t:MAC256">MAC256</a></li><li class="src short"><a href="#v:mac224">mac224</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="Crypto-MAC-SHA3.html#t:MAC224">MAC224</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:MAC512" class="def">MAC512</a> <a href="src/Crypto-MAC-SHA3.html#MAC512" class="link">Source</a></p><div class="doc"><p>SHA3_512 MAC</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:MAC512" class="def">MAC512</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:getDigest512" class="def">getDigest512</a> :: <a href="Crypto-Hash-Types.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:MAC512" class="caption collapser" onclick="toggleSection('i:MAC512')">Instances</p><div id="section.i:MAC512" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Crypto-MAC-SHA3.html#t:MAC512">MAC512</a></span> <a href="src/Crypto-MAC-SHA3.html#line-32" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-byteable-doc/html/Data-Byteable.html#t:Byteable">Byteable</a> <a href="Crypto-MAC-SHA3.html#t:MAC512">MAC512</a></span> <a href="src/Crypto-MAC-SHA3.html#line-30" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:MAC384" class="def">MAC384</a> <a href="src/Crypto-MAC-SHA3.html#MAC384" class="link">Source</a></p><div class="doc"><p>SHA3_384 MAC</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:MAC384" class="def">MAC384</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:getDigest384" class="def">getDigest384</a> :: <a href="Crypto-Hash-Types.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:MAC384" class="caption collapser" onclick="toggleSection('i:MAC384')">Instances</p><div id="section.i:MAC384" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Crypto-MAC-SHA3.html#t:MAC384">MAC384</a></span> <a href="src/Crypto-MAC-SHA3.html#line-40" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-byteable-doc/html/Data-Byteable.html#t:Byteable">Byteable</a> <a href="Crypto-MAC-SHA3.html#t:MAC384">MAC384</a></span> <a href="src/Crypto-MAC-SHA3.html#line-38" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:MAC256" class="def">MAC256</a> <a href="src/Crypto-MAC-SHA3.html#MAC256" class="link">Source</a></p><div class="doc"><p>SHA3_256 MAC</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:MAC256" class="def">MAC256</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:getDigest256" class="def">getDigest256</a> :: <a href="Crypto-Hash-Types.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:MAC256" class="caption collapser" onclick="toggleSection('i:MAC256')">Instances</p><div id="section.i:MAC256" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Crypto-MAC-SHA3.html#t:MAC256">MAC256</a></span> <a href="src/Crypto-MAC-SHA3.html#line-48" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-byteable-doc/html/Data-Byteable.html#t:Byteable">Byteable</a> <a href="Crypto-MAC-SHA3.html#t:MAC256">MAC256</a></span> <a href="src/Crypto-MAC-SHA3.html#line-46" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:MAC224" class="def">MAC224</a> <a href="src/Crypto-MAC-SHA3.html#MAC224" class="link">Source</a></p><div class="doc"><p>SHA3_224 MAC</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:MAC224" class="def">MAC224</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:getDigest224" class="def">getDigest224</a> :: <a href="Crypto-Hash-Types.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:MAC224" class="caption collapser" onclick="toggleSection('i:MAC224')">Instances</p><div id="section.i:MAC224" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Crypto-MAC-SHA3.html#t:MAC224">MAC224</a></span> <a href="src/Crypto-MAC-SHA3.html#line-56" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-byteable-doc/html/Data-Byteable.html#t:Byteable">Byteable</a> <a href="Crypto-MAC-SHA3.html#t:MAC224">MAC224</a></span> <a href="src/Crypto-MAC-SHA3.html#line-54" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:mac512" class="def">mac512</a> <a href="src/Crypto-MAC-SHA3.html#mac512" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc"><p>secret</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc"><p>message</p></td></tr><tr><td class="src">-&gt; <a href="Crypto-MAC-SHA3.html#t:MAC512">MAC512</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>compute a MAC using a simple SHA3_512 key|msg</p></div></div><div class="top"><p class="src"><a name="v:mac384" class="def">mac384</a> <a href="src/Crypto-MAC-SHA3.html#mac384" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc"><p>secret</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc"><p>message</p></td></tr><tr><td class="src">-&gt; <a href="Crypto-MAC-SHA3.html#t:MAC384">MAC384</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>compute a MAC using a simple SHA3_384 key|msg</p></div></div><div class="top"><p class="src"><a name="v:mac256" class="def">mac256</a> <a href="src/Crypto-MAC-SHA3.html#mac256" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc"><p>secret</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc"><p>message</p></td></tr><tr><td class="src">-&gt; <a href="Crypto-MAC-SHA3.html#t:MAC256">MAC256</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>compute a MAC using a simple SHA3_256 key|msg</p></div></div><div class="top"><p class="src"><a name="v:mac224" class="def">mac224</a> <a href="src/Crypto-MAC-SHA3.html#mac224" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc"><p>secret</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc"><p>message</p></td></tr><tr><td class="src">-&gt; <a href="Crypto-MAC-SHA3.html#t:MAC224">MAC224</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>compute a MAC using a simple SHA3_224 key|msg</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>