This file is indexed.

/usr/share/doc/libghc-cryptohash-doc/html/Crypto-MAC-SHA3.html is in libghc-cryptohash-doc 0.11.9-3.

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 src="file:///usr/share/javascript/mathjax/MathJax.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.9: 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.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/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.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/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.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/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.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/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 id="t:MAC512" class="def">MAC512</a> <a href="src/Crypto-MAC-SHA3.html#MAC512" class="link">Source</a> <a href="#t:MAC512" class="selflink">#</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 id="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><ul><li><dfn class="src"><a id="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></dfn><div class="doc empty">&nbsp;</div></li></ul></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"><span id="control.i:id:MAC512:Eq:1" class="instance expander" onclick="toggleSection('i:id:MAC512:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.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> <a href="#t:MAC512" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:MAC512:Eq:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Crypto-MAC-SHA3.html#t:MAC512">MAC512</a> -&gt; <a href="Crypto-MAC-SHA3.html#t:MAC512">MAC512</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Crypto-MAC-SHA3.html#t:MAC512">MAC512</a> -&gt; <a href="Crypto-MAC-SHA3.html#t:MAC512">MAC512</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:MAC512:Byteable:2" class="instance expander" onclick="toggleSection('i:id:MAC512:Byteable:2')"></span> <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> <a href="#t:MAC512" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:MAC512:Byteable:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toBytes">toBytes</a> :: <a href="Crypto-MAC-SHA3.html#t:MAC512">MAC512</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="#v:toBytes" class="selflink">#</a></p><p class="src"><a href="#v:byteableLength">byteableLength</a> :: <a href="Crypto-MAC-SHA3.html#t:MAC512">MAC512</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="#v:byteableLength" class="selflink">#</a></p><p class="src"><a href="#v:withBytePtr">withBytePtr</a> :: <a href="Crypto-MAC-SHA3.html#t:MAC512">MAC512</a> -&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-Ptr.html#t:Ptr">Ptr</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word8">Word8</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> b) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> b <a href="#v:withBytePtr" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:MAC384" class="def">MAC384</a> <a href="src/Crypto-MAC-SHA3.html#MAC384" class="link">Source</a> <a href="#t:MAC384" class="selflink">#</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 id="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><ul><li><dfn class="src"><a id="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></dfn><div class="doc empty">&nbsp;</div></li></ul></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"><span id="control.i:id:MAC384:Eq:1" class="instance expander" onclick="toggleSection('i:id:MAC384:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.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> <a href="#t:MAC384" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:MAC384:Eq:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Crypto-MAC-SHA3.html#t:MAC384">MAC384</a> -&gt; <a href="Crypto-MAC-SHA3.html#t:MAC384">MAC384</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Crypto-MAC-SHA3.html#t:MAC384">MAC384</a> -&gt; <a href="Crypto-MAC-SHA3.html#t:MAC384">MAC384</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:MAC384:Byteable:2" class="instance expander" onclick="toggleSection('i:id:MAC384:Byteable:2')"></span> <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> <a href="#t:MAC384" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:MAC384:Byteable:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toBytes">toBytes</a> :: <a href="Crypto-MAC-SHA3.html#t:MAC384">MAC384</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="#v:toBytes" class="selflink">#</a></p><p class="src"><a href="#v:byteableLength">byteableLength</a> :: <a href="Crypto-MAC-SHA3.html#t:MAC384">MAC384</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="#v:byteableLength" class="selflink">#</a></p><p class="src"><a href="#v:withBytePtr">withBytePtr</a> :: <a href="Crypto-MAC-SHA3.html#t:MAC384">MAC384</a> -&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-Ptr.html#t:Ptr">Ptr</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word8">Word8</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> b) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> b <a href="#v:withBytePtr" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:MAC256" class="def">MAC256</a> <a href="src/Crypto-MAC-SHA3.html#MAC256" class="link">Source</a> <a href="#t:MAC256" class="selflink">#</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 id="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><ul><li><dfn class="src"><a id="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></dfn><div class="doc empty">&nbsp;</div></li></ul></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"><span id="control.i:id:MAC256:Eq:1" class="instance expander" onclick="toggleSection('i:id:MAC256:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.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> <a href="#t:MAC256" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:MAC256:Eq:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Crypto-MAC-SHA3.html#t:MAC256">MAC256</a> -&gt; <a href="Crypto-MAC-SHA3.html#t:MAC256">MAC256</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Crypto-MAC-SHA3.html#t:MAC256">MAC256</a> -&gt; <a href="Crypto-MAC-SHA3.html#t:MAC256">MAC256</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:MAC256:Byteable:2" class="instance expander" onclick="toggleSection('i:id:MAC256:Byteable:2')"></span> <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> <a href="#t:MAC256" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:MAC256:Byteable:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toBytes">toBytes</a> :: <a href="Crypto-MAC-SHA3.html#t:MAC256">MAC256</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="#v:toBytes" class="selflink">#</a></p><p class="src"><a href="#v:byteableLength">byteableLength</a> :: <a href="Crypto-MAC-SHA3.html#t:MAC256">MAC256</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="#v:byteableLength" class="selflink">#</a></p><p class="src"><a href="#v:withBytePtr">withBytePtr</a> :: <a href="Crypto-MAC-SHA3.html#t:MAC256">MAC256</a> -&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-Ptr.html#t:Ptr">Ptr</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word8">Word8</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> b) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> b <a href="#v:withBytePtr" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:MAC224" class="def">MAC224</a> <a href="src/Crypto-MAC-SHA3.html#MAC224" class="link">Source</a> <a href="#t:MAC224" class="selflink">#</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 id="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><ul><li><dfn class="src"><a id="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></dfn><div class="doc empty">&nbsp;</div></li></ul></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"><span id="control.i:id:MAC224:Eq:1" class="instance expander" onclick="toggleSection('i:id:MAC224:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.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> <a href="#t:MAC224" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:MAC224:Eq:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Crypto-MAC-SHA3.html#t:MAC224">MAC224</a> -&gt; <a href="Crypto-MAC-SHA3.html#t:MAC224">MAC224</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Crypto-MAC-SHA3.html#t:MAC224">MAC224</a> -&gt; <a href="Crypto-MAC-SHA3.html#t:MAC224">MAC224</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:MAC224:Byteable:2" class="instance expander" onclick="toggleSection('i:id:MAC224:Byteable:2')"></span> <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> <a href="#t:MAC224" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:MAC224:Byteable:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toBytes">toBytes</a> :: <a href="Crypto-MAC-SHA3.html#t:MAC224">MAC224</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="#v:toBytes" class="selflink">#</a></p><p class="src"><a href="#v:byteableLength">byteableLength</a> :: <a href="Crypto-MAC-SHA3.html#t:MAC224">MAC224</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="#v:byteableLength" class="selflink">#</a></p><p class="src"><a href="#v:withBytePtr">withBytePtr</a> :: <a href="Crypto-MAC-SHA3.html#t:MAC224">MAC224</a> -&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-Ptr.html#t:Ptr">Ptr</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word8">Word8</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> b) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> b <a href="#v:withBytePtr" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:mac512" class="def">mac512</a> <a href="src/Crypto-MAC-SHA3.html#mac512" class="link">Source</a> <a href="#v:mac512" class="selflink">#</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.8.1/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.8.1/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 id="v:mac384" class="def">mac384</a> <a href="src/Crypto-MAC-SHA3.html#mac384" class="link">Source</a> <a href="#v:mac384" class="selflink">#</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.8.1/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.8.1/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 id="v:mac256" class="def">mac256</a> <a href="src/Crypto-MAC-SHA3.html#mac256" class="link">Source</a> <a href="#v:mac256" class="selflink">#</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.8.1/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.8.1/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 id="v:mac224" class="def">mac224</a> <a href="src/Crypto-MAC-SHA3.html#mac224" class="link">Source</a> <a href="#v:mac224" class="selflink">#</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.8.1/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.8.1/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.17.2</p></div></body></html>