/usr/share/doc/libghc-cryptohash-doc/html/Crypto-Hash.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 5 6 7 8 9 10 11 12 13 | <!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</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-Hash.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Crypto-Hash.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 <vincent@snarc.org></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.Hash</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Types</a></li><li><a href="#g:2">Functions</a></li><li><a href="#g:3">hash algorithms</a></li><li><a href="#g:4">MAC algorithms</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Generalized cryptographic hash interface, that you can use with cryptographic hash
algorithm that belong to the HashAlgorithm type class.</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></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">class</span> <a href="#t:HashAlgorithm">HashAlgorithm</a> a <span class="keyword">where</span><ul class="subs"></ul></li><li class="src short"><span class="keyword">type</span> <a href="#t:HashFunctionBS">HashFunctionBS</a> a = <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> a</li><li class="src short"><span class="keyword">type</span> <a href="#t:HashFunctionLBS">HashFunctionLBS</a> a = <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> a</li><li class="src short"><span class="keyword">data</span> <a href="#t:Context">Context</a> a</li><li class="src short"><span class="keyword">data</span> <a href="#t:Digest">Digest</a> a</li><li class="src short"><a href="#v:digestToByteString">digestToByteString</a> :: <a href="Crypto-Hash.html#t:Digest">Digest</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a></li><li class="src short"><a href="#v:digestToHexByteString">digestToHexByteString</a> :: <a href="Crypto-Hash.html#t:Digest">Digest</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a></li><li class="src short"><a href="#v:hash">hash</a> :: <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> a</li><li class="src short"><a href="#v:hashlazy">hashlazy</a> :: <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> a</li><li class="src short"><a href="#v:hashUpdate">hashUpdate</a> :: <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> a => <a href="Crypto-Hash.html#t:Context">Context</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="Crypto-Hash.html#t:Context">Context</a> a</li><li class="src short"><a href="#v:hashInitAlg">hashInitAlg</a> :: <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> alg => alg -> <a href="Crypto-Hash.html#t:Context">Context</a> alg</li><li class="src short"><span class="keyword">data</span> <a href="#t:MD2">MD2</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> = <a href="#v:MD2">MD2</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:MD4">MD4</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> = <a href="#v:MD4">MD4</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:MD5">MD5</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> = <a href="#v:MD5">MD5</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:SHA1">SHA1</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> = <a href="#v:SHA1">SHA1</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:SHA224">SHA224</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> = <a href="#v:SHA224">SHA224</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:SHA256">SHA256</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> = <a href="#v:SHA256">SHA256</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:SHA384">SHA384</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> = <a href="#v:SHA384">SHA384</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:SHA512">SHA512</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> = <a href="#v:SHA512">SHA512</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:RIPEMD160">RIPEMD160</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> = <a href="#v:RIPEMD160">RIPEMD160</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:Tiger">Tiger</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> = <a href="#v:Tiger">Tiger</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:SHA3_224">SHA3_224</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> = <a href="#v:SHA3_224">SHA3_224</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:SHA3_256">SHA3_256</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> = <a href="#v:SHA3_256">SHA3_256</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:SHA3_384">SHA3_384</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> = <a href="#v:SHA3_384">SHA3_384</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:SHA3_512">SHA3_512</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> = <a href="#v:SHA3_512">SHA3_512</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:Skein256_224">Skein256_224</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> = <a href="#v:Skein256_224">Skein256_224</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:Skein256_256">Skein256_256</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> = <a href="#v:Skein256_256">Skein256_256</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:Skein512_224">Skein512_224</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> = <a href="#v:Skein512_224">Skein512_224</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:Skein512_256">Skein512_256</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> = <a href="#v:Skein512_256">Skein512_256</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:Skein512_384">Skein512_384</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> = <a href="#v:Skein512_384">Skein512_384</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:Skein512_512">Skein512_512</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> = <a href="#v:Skein512_512">Skein512_512</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:Whirlpool">Whirlpool</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> = <a href="#v:Whirlpool">Whirlpool</a></li><li class="src short"><span class="keyword">newtype</span> <a href="#t:HMAC">HMAC</a> a = <a href="#v:HMAC">HMAC</a> {<ul class="subs"><li><a href="#v:hmacGetDigest">hmacGetDigest</a> :: <a href="Crypto-Hash.html#t:Digest">Digest</a> a</li></ul>}</li><li class="src short"><a href="#v:hmac">hmac</a> :: <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="Crypto-Hash.html#t:HMAC">HMAC</a> a</li><li class="src short"><a href="#v:hmacAlg">hmacAlg</a> :: <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> a => a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="Crypto-Hash.html#t:HMAC">HMAC</a> a</li></ul></div><div id="interface"><h1 id="g:1">Types</h1><div class="top"><p class="src"><span class="keyword">class</span> <a id="t:HashAlgorithm" class="def">HashAlgorithm</a> a <span class="keyword">where</span> <a href="src/Crypto-Hash.html#HashAlgorithm" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></p><div class="doc"><p>Class representing hashing algorithms.</p><p>The hash algorithm is built over 3 primitives:</p><ul><li>init : create a new hashing context</li><li>updates : update the hashing context with some strict bytestrings
and return the new context</li><li>finalize : finalize the context into a digest</li></ul></div><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="Crypto-Hash.html#v:hashBlockSize">hashBlockSize</a>, <a href="Crypto-Hash.html#v:hashInit">hashInit</a>, <a href="Crypto-Hash.html#v:hashUpdates">hashUpdates</a>, <a href="Crypto-Hash.html#v:hashFinalize">hashFinalize</a>, <a href="Crypto-Hash.html#v:digestFromByteString">digestFromByteString</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:hashBlockSize" class="def">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><div class="doc"><p>Block size in bytes the hash algorithm operates on</p></div><p class="src"><a id="v:hashInit" class="def">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> a <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><div class="doc"><p>Initialize a new context for this hash algorithm</p></div><p class="src"><a id="v:hashUpdates" class="def">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> a -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> a <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><div class="doc"><p>Update the context with a list of strict bytestring,
and return a new context with the updates.</p></div><p class="src"><a id="v:hashFinalize" class="def">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> a -> <a href="Crypto-Hash.html#t:Digest">Digest</a> a <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><div class="doc"><p>Finalize a context and return a digest.</p></div><p class="src"><a id="v:digestFromByteString" class="def">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> a) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" class="selflink">#</a></p><div class="doc"><p>Try to convert a binary digest bytestring to a digest.</p></div></div><div class="subs instances"><p id="control.i:HashAlgorithm" class="caption collapser" onclick="toggleSection('i:HashAlgorithm')">Instances</p><div id="section.i:HashAlgorithm" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:HashAlgorithm:HashAlgorithm:1" class="instance expander" onclick="toggleSection('i:ic:HashAlgorithm:HashAlgorithm:1')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a></span> <a href="src/Crypto-Hash.html#line-163" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>Whirlpool cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:ic:HashAlgorithm:HashAlgorithm:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:HashAlgorithm:HashAlgorithm:2" class="instance expander" onclick="toggleSection('i:ic:HashAlgorithm:HashAlgorithm:2')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a></span> <a href="src/Crypto-Hash.html#line-182" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>Skein512 (224 bits version) cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:ic:HashAlgorithm:HashAlgorithm:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:HashAlgorithm:HashAlgorithm:3" class="instance expander" onclick="toggleSection('i:ic:HashAlgorithm:HashAlgorithm:3')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a></span> <a href="src/Crypto-Hash.html#line-184" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>Skein512 (256 bits version) cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:ic:HashAlgorithm:HashAlgorithm:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:HashAlgorithm:HashAlgorithm:4" class="instance expander" onclick="toggleSection('i:ic:HashAlgorithm:HashAlgorithm:4')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a></span> <a href="src/Crypto-Hash.html#line-186" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>Skein512 (384 bits version) cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:ic:HashAlgorithm:HashAlgorithm:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:HashAlgorithm:HashAlgorithm:5" class="instance expander" onclick="toggleSection('i:ic:HashAlgorithm:HashAlgorithm:5')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a></span> <a href="src/Crypto-Hash.html#line-188" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>Skein512 (512 bits version) cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:ic:HashAlgorithm:HashAlgorithm:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:HashAlgorithm:HashAlgorithm:6" class="instance expander" onclick="toggleSection('i:ic:HashAlgorithm:HashAlgorithm:6')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a></span> <a href="src/Crypto-Hash.html#line-177" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>Skein256 (224 bits version) cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:ic:HashAlgorithm:HashAlgorithm:6" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:HashAlgorithm:HashAlgorithm:7" class="instance expander" onclick="toggleSection('i:ic:HashAlgorithm:HashAlgorithm:7')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a></span> <a href="src/Crypto-Hash.html#line-179" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>Skein256 (256 bits version) cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:ic:HashAlgorithm:HashAlgorithm:7" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:HashAlgorithm:HashAlgorithm:8" class="instance expander" onclick="toggleSection('i:ic:HashAlgorithm:HashAlgorithm:8')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:Tiger">Tiger</a></span> <a href="src/Crypto-Hash.html#line-165" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>Tiger cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:ic:HashAlgorithm:HashAlgorithm:8" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Tiger">Tiger</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Tiger">Tiger</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Tiger">Tiger</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Tiger">Tiger</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Tiger">Tiger</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Tiger">Tiger</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Tiger">Tiger</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:HashAlgorithm:HashAlgorithm:9" class="instance expander" onclick="toggleSection('i:ic:HashAlgorithm:HashAlgorithm:9')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a></span> <a href="src/Crypto-Hash.html#line-161" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>RIPEMD160 cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:ic:HashAlgorithm:HashAlgorithm:9" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:HashAlgorithm:HashAlgorithm:10" class="instance expander" onclick="toggleSection('i:ic:HashAlgorithm:HashAlgorithm:10')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a></span> <a href="src/Crypto-Hash.html#line-168" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>SHA3 (224 bits version) cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:ic:HashAlgorithm:HashAlgorithm:10" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:HashAlgorithm:HashAlgorithm:11" class="instance expander" onclick="toggleSection('i:ic:HashAlgorithm:HashAlgorithm:11')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a></span> <a href="src/Crypto-Hash.html#line-170" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>SHA3 (256 bits version) cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:ic:HashAlgorithm:HashAlgorithm:11" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:HashAlgorithm:HashAlgorithm:12" class="instance expander" onclick="toggleSection('i:ic:HashAlgorithm:HashAlgorithm:12')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a></span> <a href="src/Crypto-Hash.html#line-172" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>SHA3 (384 bits version) cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:ic:HashAlgorithm:HashAlgorithm:12" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:HashAlgorithm:HashAlgorithm:13" class="instance expander" onclick="toggleSection('i:ic:HashAlgorithm:HashAlgorithm:13')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a></span> <a href="src/Crypto-Hash.html#line-174" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>SHA3 (512 bits version) cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:ic:HashAlgorithm:HashAlgorithm:13" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:HashAlgorithm:HashAlgorithm:14" class="instance expander" onclick="toggleSection('i:ic:HashAlgorithm:HashAlgorithm:14')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA512">SHA512</a></span> <a href="src/Crypto-Hash.html#line-158" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>SHA512 cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:ic:HashAlgorithm:HashAlgorithm:14" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA512">SHA512</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA512">SHA512</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA512">SHA512</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA512">SHA512</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA512">SHA512</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA512">SHA512</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA512">SHA512</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:HashAlgorithm:HashAlgorithm:15" class="instance expander" onclick="toggleSection('i:ic:HashAlgorithm:HashAlgorithm:15')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA384">SHA384</a></span> <a href="src/Crypto-Hash.html#line-156" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>SHA384 cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:ic:HashAlgorithm:HashAlgorithm:15" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA384">SHA384</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA384">SHA384</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA384">SHA384</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA384">SHA384</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA384">SHA384</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA384">SHA384</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA384">SHA384</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:HashAlgorithm:HashAlgorithm:16" class="instance expander" onclick="toggleSection('i:ic:HashAlgorithm:HashAlgorithm:16')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA256">SHA256</a></span> <a href="src/Crypto-Hash.html#line-154" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>SHA256 cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:ic:HashAlgorithm:HashAlgorithm:16" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA256">SHA256</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA256">SHA256</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA256">SHA256</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA256">SHA256</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA256">SHA256</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA256">SHA256</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA256">SHA256</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:HashAlgorithm:HashAlgorithm:17" class="instance expander" onclick="toggleSection('i:ic:HashAlgorithm:HashAlgorithm:17')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA224">SHA224</a></span> <a href="src/Crypto-Hash.html#line-152" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>SHA224 cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:ic:HashAlgorithm:HashAlgorithm:17" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA224">SHA224</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA224">SHA224</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA224">SHA224</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA224">SHA224</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA224">SHA224</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA224">SHA224</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA224">SHA224</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:HashAlgorithm:HashAlgorithm:18" class="instance expander" onclick="toggleSection('i:ic:HashAlgorithm:HashAlgorithm:18')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA1">SHA1</a></span> <a href="src/Crypto-Hash.html#line-150" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>SHA1 cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:ic:HashAlgorithm:HashAlgorithm:18" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA1">SHA1</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA1">SHA1</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA1">SHA1</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA1">SHA1</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA1">SHA1</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA1">SHA1</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA1">SHA1</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:HashAlgorithm:HashAlgorithm:19" class="instance expander" onclick="toggleSection('i:ic:HashAlgorithm:HashAlgorithm:19')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:MD5">MD5</a></span> <a href="src/Crypto-Hash.html#line-148" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>MD5 cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:ic:HashAlgorithm:HashAlgorithm:19" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD5">MD5</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD5">MD5</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD5">MD5</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD5">MD5</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD5">MD5</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:MD5">MD5</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:MD5">MD5</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:HashAlgorithm:HashAlgorithm:20" class="instance expander" onclick="toggleSection('i:ic:HashAlgorithm:HashAlgorithm:20')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:MD4">MD4</a></span> <a href="src/Crypto-Hash.html#line-146" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>MD4 cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:ic:HashAlgorithm:HashAlgorithm:20" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD4">MD4</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD4">MD4</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD4">MD4</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD4">MD4</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD4">MD4</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:MD4">MD4</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:MD4">MD4</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:HashAlgorithm:HashAlgorithm:21" class="instance expander" onclick="toggleSection('i:ic:HashAlgorithm:HashAlgorithm:21')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:MD2">MD2</a></span> <a href="src/Crypto-Hash.html#line-144" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>MD2 cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:ic:HashAlgorithm:HashAlgorithm:21" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD2">MD2</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD2">MD2</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD2">MD2</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD2">MD2</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD2">MD2</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:MD2">MD2</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:MD2">MD2</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:HashFunctionBS" class="def">HashFunctionBS</a> a = <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> a <a href="src/Crypto-Hash.html#HashFunctionBS" class="link">Source</a> <a href="#t:HashFunctionBS" class="selflink">#</a></p><div class="doc"><p>Alias to a single pass hash function that operate on a strict bytestring</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:HashFunctionLBS" class="def">HashFunctionLBS</a> a = <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> a <a href="src/Crypto-Hash.html#HashFunctionLBS" class="link">Source</a> <a href="#t:HashFunctionLBS" class="selflink">#</a></p><div class="doc"><p>Alias to a single pass hash function that operate on a lazy bytestring</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Context" class="def">Context</a> a <a href="src/Crypto-Hash-Types.html#Context" class="link">Source</a> <a href="#t:Context" class="selflink">#</a></p><div class="doc"><p>Represent a context for a given hash algorithm.</p></div><div class="subs instances"><p id="control.i:Context" class="caption collapser" onclick="toggleSection('i:Context')">Instances</p><div id="section.i:Context" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Context:Byteable:1" class="instance expander" onclick="toggleSection('i:id:Context:Byteable:1')"></span> <a href="file:///usr/share/doc/libghc-byteable-doc/html/Data-Byteable.html#t:Byteable">Byteable</a> (<a href="Crypto-Hash.html#t:Context">Context</a> a)</span> <a href="src/Crypto-Hash-Types.html#line-28" class="link">Source</a> <a href="#t:Context" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Context:Byteable:1" 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-Hash.html#t:Context">Context</a> a -> <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-Hash.html#t:Context">Context</a> a -> <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-Hash.html#t:Context">Context</a> a -> (<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> -> <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="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:Digest" class="def">Digest</a> a <a href="src/Crypto-Hash-Types.html#Digest" class="link">Source</a> <a href="#t:Digest" class="selflink">#</a></p><div class="doc"><p>Represent a digest for a given hash algorithm.</p></div><div class="subs instances"><p id="control.i:Digest" class="caption collapser" onclick="toggleSection('i:Digest')">Instances</p><div id="section.i:Digest" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Digest:Eq:1" class="instance expander" onclick="toggleSection('i:id:Digest: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-Hash.html#t:Digest">Digest</a> a)</span> <a href="src/Crypto-Hash-Types.html#line-37" class="link">Source</a> <a href="#t:Digest" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Digest: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-Hash.html#t:Digest">Digest</a> a -> <a href="Crypto-Hash.html#t:Digest">Digest</a> a -> <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-Hash.html#t:Digest">Digest</a> a -> <a href="Crypto-Hash.html#t:Digest">Digest</a> a -> <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:Digest:Ord:2" class="instance expander" onclick="toggleSection('i:id:Digest:Ord:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> a)</span> <a href="src/Crypto-Hash-Types.html#line-37" class="link">Source</a> <a href="#t:Digest" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Digest:Ord:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:compare">compare</a> :: <a href="Crypto-Hash.html#t:Digest">Digest</a> a -> <a href="Crypto-Hash.html#t:Digest">Digest</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ordering">Ordering</a> <a href="#v:compare" class="selflink">#</a></p><p class="src"><a href="#v:-60-">(<)</a> :: <a href="Crypto-Hash.html#t:Digest">Digest</a> a -> <a href="Crypto-Hash.html#t:Digest">Digest</a> a -> <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:-60-" class="selflink">#</a></p><p class="src"><a href="#v:-60--61-">(<=)</a> :: <a href="Crypto-Hash.html#t:Digest">Digest</a> a -> <a href="Crypto-Hash.html#t:Digest">Digest</a> a -> <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:-60--61-" class="selflink">#</a></p><p class="src"><a href="#v:-62-">(>)</a> :: <a href="Crypto-Hash.html#t:Digest">Digest</a> a -> <a href="Crypto-Hash.html#t:Digest">Digest</a> a -> <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:-62-" class="selflink">#</a></p><p class="src"><a href="#v:-62--61-">(>=)</a> :: <a href="Crypto-Hash.html#t:Digest">Digest</a> a -> <a href="Crypto-Hash.html#t:Digest">Digest</a> a -> <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:-62--61-" class="selflink">#</a></p><p class="src"><a href="#v:max">max</a> :: <a href="Crypto-Hash.html#t:Digest">Digest</a> a -> <a href="Crypto-Hash.html#t:Digest">Digest</a> a -> <a href="Crypto-Hash.html#t:Digest">Digest</a> a <a href="#v:max" class="selflink">#</a></p><p class="src"><a href="#v:min">min</a> :: <a href="Crypto-Hash.html#t:Digest">Digest</a> a -> <a href="Crypto-Hash.html#t:Digest">Digest</a> a -> <a href="Crypto-Hash.html#t:Digest">Digest</a> a <a href="#v:min" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Digest:Show:3" class="instance expander" onclick="toggleSection('i:id:Digest:Show:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> a)</span> <a href="src/Crypto-Hash-Types.html#line-47" class="link">Source</a> <a href="#t:Digest" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Digest:Show:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Crypto-Hash.html#t:Digest">Digest</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Crypto-Hash.html#t:Digest">Digest</a> a] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Digest:Byteable:4" class="instance expander" onclick="toggleSection('i:id:Digest:Byteable:4')"></span> <a href="file:///usr/share/doc/libghc-byteable-doc/html/Data-Byteable.html#t:Byteable">Byteable</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> a)</span> <a href="src/Crypto-Hash-Types.html#line-39" class="link">Source</a> <a href="#t:Digest" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Digest:Byteable:4" 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-Hash.html#t:Digest">Digest</a> a -> <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-Hash.html#t:Digest">Digest</a> a -> <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-Hash.html#t:Digest">Digest</a> a -> (<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> -> <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="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><h1 id="g:2">Functions</h1><div class="top"><p class="src"><a id="v:digestToByteString" class="def">digestToByteString</a> :: <a href="Crypto-Hash.html#t:Digest">Digest</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Crypto-Hash-Types.html#digestToByteString" class="link">Source</a> <a href="#v:digestToByteString" class="selflink">#</a></p><div class="doc"><div class="warning"><p>Deprecated: use toBytes from byteable:Data.Byteable</p></div><p>return the binary bytestring. deprecated use toBytes.</p></div></div><div class="top"><p class="src"><a id="v:digestToHexByteString" class="def">digestToHexByteString</a> :: <a href="Crypto-Hash.html#t:Digest">Digest</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Crypto-Hash.html#digestToHexByteString" class="link">Source</a> <a href="#v:digestToHexByteString" class="selflink">#</a></p><div class="doc"><p>Return the hexadecimal (base16) bytestring of the digest</p></div></div><div class="top"><p class="src"><a id="v:hash" class="def">hash</a> :: <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> a <a href="src/Crypto-Hash.html#hash" class="link">Source</a> <a href="#v:hash" class="selflink">#</a></p><div class="doc"><p>Hash a strict bytestring into a digest.</p></div></div><div class="top"><p class="src"><a id="v:hashlazy" class="def">hashlazy</a> :: <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> a <a href="src/Crypto-Hash.html#hashlazy" class="link">Source</a> <a href="#v:hashlazy" class="selflink">#</a></p><div class="doc"><p>Hash a lazy bytestring into a digest.</p></div></div><div class="top"><p class="src"><a id="v:hashUpdate" class="def">hashUpdate</a> :: <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> a => <a href="Crypto-Hash.html#t:Context">Context</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="Crypto-Hash.html#t:Context">Context</a> a <a href="src/Crypto-Hash.html#hashUpdate" class="link">Source</a> <a href="#v:hashUpdate" class="selflink">#</a></p><div class="doc"><p>run hashUpdates on one single bytestring and return the updated context.</p></div></div><div class="top"><p class="src"><a id="v:hashInitAlg" class="def">hashInitAlg</a> :: <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> alg => alg -> <a href="Crypto-Hash.html#t:Context">Context</a> alg <a href="src/Crypto-Hash.html#hashInitAlg" class="link">Source</a> <a href="#v:hashInitAlg" class="selflink">#</a></p><div class="doc"><p>Initialize a new context for a specified hash algorithm</p></div></div><h1 id="g:3">hash algorithms</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:MD2" class="def">MD2</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="#t:MD2" class="selflink">#</a></p><div class="doc"><p>MD2 cryptographic hash algorithm</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:MD2" class="def">MD2</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:MD2" class="caption collapser" onclick="toggleSection('i:MD2')">Instances</p><div id="section.i:MD2" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:MD2:Show:1" class="instance expander" onclick="toggleSection('i:id:MD2:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Crypto-Hash.html#t:MD2">MD2</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:MD2:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Crypto-Hash.html#t:MD2">MD2</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Crypto-Hash.html#t:MD2">MD2</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Crypto-Hash.html#t:MD2">MD2</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:MD2:HashAlgorithm:2" class="instance expander" onclick="toggleSection('i:id:MD2:HashAlgorithm:2')"></span> <a href="file:///usr/share/doc/libghc-cryptonite-doc/html/Crypto-Hash-IO.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:MD2">MD2</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:MD2:HashAlgorithm:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:MD2">MD2</a> -> <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:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashDigestSize">hashDigestSize</a> :: <a href="Crypto-Hash.html#t:MD2">MD2</a> -> <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:hashDigestSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalContextSize">hashInternalContextSize</a> :: <a href="Crypto-Hash.html#t:MD2">MD2</a> -> <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:hashInternalContextSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalInit">hashInternalInit</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD2">MD2</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalInit" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalUpdate">hashInternalUpdate</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD2">MD2</a>) -> <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> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalUpdate" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalFinalize">hashInternalFinalize</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD2">MD2</a>) -> <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:MD2">MD2</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalFinalize" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:MD2:HashAlgorithm:3" class="instance expander" onclick="toggleSection('i:id:MD2:HashAlgorithm:3')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:MD2">MD2</a></span> <a href="src/Crypto-Hash.html#line-144" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>MD2 cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:id:MD2:HashAlgorithm:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD2">MD2</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD2">MD2</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD2">MD2</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD2">MD2</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD2">MD2</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:MD2">MD2</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:MD2">MD2</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" 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:MD4" class="def">MD4</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="#t:MD4" class="selflink">#</a></p><div class="doc"><p>MD4 cryptographic hash algorithm</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:MD4" class="def">MD4</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:MD4" class="caption collapser" onclick="toggleSection('i:MD4')">Instances</p><div id="section.i:MD4" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:MD4:Show:1" class="instance expander" onclick="toggleSection('i:id:MD4:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Crypto-Hash.html#t:MD4">MD4</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:MD4:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Crypto-Hash.html#t:MD4">MD4</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Crypto-Hash.html#t:MD4">MD4</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Crypto-Hash.html#t:MD4">MD4</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:MD4:HashAlgorithm:2" class="instance expander" onclick="toggleSection('i:id:MD4:HashAlgorithm:2')"></span> <a href="file:///usr/share/doc/libghc-cryptonite-doc/html/Crypto-Hash-IO.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:MD4">MD4</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:MD4:HashAlgorithm:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:MD4">MD4</a> -> <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:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashDigestSize">hashDigestSize</a> :: <a href="Crypto-Hash.html#t:MD4">MD4</a> -> <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:hashDigestSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalContextSize">hashInternalContextSize</a> :: <a href="Crypto-Hash.html#t:MD4">MD4</a> -> <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:hashInternalContextSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalInit">hashInternalInit</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD4">MD4</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalInit" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalUpdate">hashInternalUpdate</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD4">MD4</a>) -> <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> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalUpdate" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalFinalize">hashInternalFinalize</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD4">MD4</a>) -> <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:MD4">MD4</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalFinalize" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:MD4:HashAlgorithm:3" class="instance expander" onclick="toggleSection('i:id:MD4:HashAlgorithm:3')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:MD4">MD4</a></span> <a href="src/Crypto-Hash.html#line-146" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>MD4 cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:id:MD4:HashAlgorithm:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD4">MD4</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD4">MD4</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD4">MD4</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD4">MD4</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD4">MD4</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:MD4">MD4</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:MD4">MD4</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" 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:MD5" class="def">MD5</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="#t:MD5" class="selflink">#</a></p><div class="doc"><p>MD5 cryptographic hash algorithm</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:MD5" class="def">MD5</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:MD5" class="caption collapser" onclick="toggleSection('i:MD5')">Instances</p><div id="section.i:MD5" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:MD5:Show:1" class="instance expander" onclick="toggleSection('i:id:MD5:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Crypto-Hash.html#t:MD5">MD5</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:MD5:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Crypto-Hash.html#t:MD5">MD5</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Crypto-Hash.html#t:MD5">MD5</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Crypto-Hash.html#t:MD5">MD5</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:MD5:HashAlgorithm:2" class="instance expander" onclick="toggleSection('i:id:MD5:HashAlgorithm:2')"></span> <a href="file:///usr/share/doc/libghc-cryptonite-doc/html/Crypto-Hash-IO.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:MD5">MD5</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:MD5:HashAlgorithm:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:MD5">MD5</a> -> <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:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashDigestSize">hashDigestSize</a> :: <a href="Crypto-Hash.html#t:MD5">MD5</a> -> <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:hashDigestSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalContextSize">hashInternalContextSize</a> :: <a href="Crypto-Hash.html#t:MD5">MD5</a> -> <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:hashInternalContextSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalInit">hashInternalInit</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD5">MD5</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalInit" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalUpdate">hashInternalUpdate</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD5">MD5</a>) -> <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> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalUpdate" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalFinalize">hashInternalFinalize</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD5">MD5</a>) -> <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:MD5">MD5</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalFinalize" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:MD5:HashAlgorithm:3" class="instance expander" onclick="toggleSection('i:id:MD5:HashAlgorithm:3')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:MD5">MD5</a></span> <a href="src/Crypto-Hash.html#line-148" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>MD5 cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:id:MD5:HashAlgorithm:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD5">MD5</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD5">MD5</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD5">MD5</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD5">MD5</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:MD5">MD5</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:MD5">MD5</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:MD5">MD5</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" 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:SHA1" class="def">SHA1</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="#t:SHA1" class="selflink">#</a></p><div class="doc"><p>SHA1 cryptographic hash algorithm</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:SHA1" class="def">SHA1</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:SHA1" class="caption collapser" onclick="toggleSection('i:SHA1')">Instances</p><div id="section.i:SHA1" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA1:Show:1" class="instance expander" onclick="toggleSection('i:id:SHA1:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Crypto-Hash.html#t:SHA1">SHA1</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SHA1:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Crypto-Hash.html#t:SHA1">SHA1</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Crypto-Hash.html#t:SHA1">SHA1</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Crypto-Hash.html#t:SHA1">SHA1</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA1:HashAlgorithm:2" class="instance expander" onclick="toggleSection('i:id:SHA1:HashAlgorithm:2')"></span> <a href="file:///usr/share/doc/libghc-cryptonite-doc/html/Crypto-Hash-IO.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA1">SHA1</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SHA1:HashAlgorithm:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:SHA1">SHA1</a> -> <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:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashDigestSize">hashDigestSize</a> :: <a href="Crypto-Hash.html#t:SHA1">SHA1</a> -> <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:hashDigestSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalContextSize">hashInternalContextSize</a> :: <a href="Crypto-Hash.html#t:SHA1">SHA1</a> -> <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:hashInternalContextSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalInit">hashInternalInit</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA1">SHA1</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalInit" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalUpdate">hashInternalUpdate</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA1">SHA1</a>) -> <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> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalUpdate" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalFinalize">hashInternalFinalize</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA1">SHA1</a>) -> <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA1">SHA1</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalFinalize" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA1:HashAlgorithm:3" class="instance expander" onclick="toggleSection('i:id:SHA1:HashAlgorithm:3')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA1">SHA1</a></span> <a href="src/Crypto-Hash.html#line-150" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>SHA1 cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:id:SHA1:HashAlgorithm:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA1">SHA1</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA1">SHA1</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA1">SHA1</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA1">SHA1</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA1">SHA1</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA1">SHA1</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA1">SHA1</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" 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:SHA224" class="def">SHA224</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="#t:SHA224" class="selflink">#</a></p><div class="doc"><p>SHA224 cryptographic hash algorithm</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:SHA224" class="def">SHA224</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:SHA224" class="caption collapser" onclick="toggleSection('i:SHA224')">Instances</p><div id="section.i:SHA224" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA224:Show:1" class="instance expander" onclick="toggleSection('i:id:SHA224:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Crypto-Hash.html#t:SHA224">SHA224</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SHA224:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Crypto-Hash.html#t:SHA224">SHA224</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Crypto-Hash.html#t:SHA224">SHA224</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Crypto-Hash.html#t:SHA224">SHA224</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA224:HashAlgorithm:2" class="instance expander" onclick="toggleSection('i:id:SHA224:HashAlgorithm:2')"></span> <a href="file:///usr/share/doc/libghc-cryptonite-doc/html/Crypto-Hash-IO.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA224">SHA224</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SHA224:HashAlgorithm:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:SHA224">SHA224</a> -> <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:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashDigestSize">hashDigestSize</a> :: <a href="Crypto-Hash.html#t:SHA224">SHA224</a> -> <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:hashDigestSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalContextSize">hashInternalContextSize</a> :: <a href="Crypto-Hash.html#t:SHA224">SHA224</a> -> <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:hashInternalContextSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalInit">hashInternalInit</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA224">SHA224</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalInit" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalUpdate">hashInternalUpdate</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA224">SHA224</a>) -> <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> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalUpdate" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalFinalize">hashInternalFinalize</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA224">SHA224</a>) -> <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA224">SHA224</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalFinalize" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA224:HashAlgorithm:3" class="instance expander" onclick="toggleSection('i:id:SHA224:HashAlgorithm:3')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA224">SHA224</a></span> <a href="src/Crypto-Hash.html#line-152" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>SHA224 cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:id:SHA224:HashAlgorithm:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA224">SHA224</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA224">SHA224</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA224">SHA224</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA224">SHA224</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA224">SHA224</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA224">SHA224</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA224">SHA224</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" 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:SHA256" class="def">SHA256</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="#t:SHA256" class="selflink">#</a></p><div class="doc"><p>SHA256 cryptographic hash algorithm</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:SHA256" class="def">SHA256</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:SHA256" class="caption collapser" onclick="toggleSection('i:SHA256')">Instances</p><div id="section.i:SHA256" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA256:Show:1" class="instance expander" onclick="toggleSection('i:id:SHA256:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Crypto-Hash.html#t:SHA256">SHA256</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SHA256:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Crypto-Hash.html#t:SHA256">SHA256</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Crypto-Hash.html#t:SHA256">SHA256</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Crypto-Hash.html#t:SHA256">SHA256</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA256:HashAlgorithm:2" class="instance expander" onclick="toggleSection('i:id:SHA256:HashAlgorithm:2')"></span> <a href="file:///usr/share/doc/libghc-cryptonite-doc/html/Crypto-Hash-IO.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA256">SHA256</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SHA256:HashAlgorithm:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:SHA256">SHA256</a> -> <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:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashDigestSize">hashDigestSize</a> :: <a href="Crypto-Hash.html#t:SHA256">SHA256</a> -> <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:hashDigestSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalContextSize">hashInternalContextSize</a> :: <a href="Crypto-Hash.html#t:SHA256">SHA256</a> -> <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:hashInternalContextSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalInit">hashInternalInit</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA256">SHA256</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalInit" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalUpdate">hashInternalUpdate</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA256">SHA256</a>) -> <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> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalUpdate" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalFinalize">hashInternalFinalize</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA256">SHA256</a>) -> <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA256">SHA256</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalFinalize" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA256:HashAlgorithm:3" class="instance expander" onclick="toggleSection('i:id:SHA256:HashAlgorithm:3')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA256">SHA256</a></span> <a href="src/Crypto-Hash.html#line-154" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>SHA256 cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:id:SHA256:HashAlgorithm:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA256">SHA256</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA256">SHA256</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA256">SHA256</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA256">SHA256</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA256">SHA256</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA256">SHA256</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA256">SHA256</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" 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:SHA384" class="def">SHA384</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="#t:SHA384" class="selflink">#</a></p><div class="doc"><p>SHA384 cryptographic hash algorithm</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:SHA384" class="def">SHA384</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:SHA384" class="caption collapser" onclick="toggleSection('i:SHA384')">Instances</p><div id="section.i:SHA384" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA384:Show:1" class="instance expander" onclick="toggleSection('i:id:SHA384:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Crypto-Hash.html#t:SHA384">SHA384</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SHA384:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Crypto-Hash.html#t:SHA384">SHA384</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Crypto-Hash.html#t:SHA384">SHA384</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Crypto-Hash.html#t:SHA384">SHA384</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA384:HashAlgorithm:2" class="instance expander" onclick="toggleSection('i:id:SHA384:HashAlgorithm:2')"></span> <a href="file:///usr/share/doc/libghc-cryptonite-doc/html/Crypto-Hash-IO.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA384">SHA384</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SHA384:HashAlgorithm:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:SHA384">SHA384</a> -> <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:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashDigestSize">hashDigestSize</a> :: <a href="Crypto-Hash.html#t:SHA384">SHA384</a> -> <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:hashDigestSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalContextSize">hashInternalContextSize</a> :: <a href="Crypto-Hash.html#t:SHA384">SHA384</a> -> <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:hashInternalContextSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalInit">hashInternalInit</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA384">SHA384</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalInit" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalUpdate">hashInternalUpdate</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA384">SHA384</a>) -> <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> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalUpdate" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalFinalize">hashInternalFinalize</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA384">SHA384</a>) -> <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA384">SHA384</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalFinalize" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA384:HashAlgorithm:3" class="instance expander" onclick="toggleSection('i:id:SHA384:HashAlgorithm:3')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA384">SHA384</a></span> <a href="src/Crypto-Hash.html#line-156" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>SHA384 cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:id:SHA384:HashAlgorithm:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA384">SHA384</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA384">SHA384</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA384">SHA384</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA384">SHA384</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA384">SHA384</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA384">SHA384</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA384">SHA384</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" 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:SHA512" class="def">SHA512</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="#t:SHA512" class="selflink">#</a></p><div class="doc"><p>SHA512 cryptographic hash algorithm</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:SHA512" class="def">SHA512</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:SHA512" class="caption collapser" onclick="toggleSection('i:SHA512')">Instances</p><div id="section.i:SHA512" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA512:Show:1" class="instance expander" onclick="toggleSection('i:id:SHA512:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Crypto-Hash.html#t:SHA512">SHA512</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SHA512:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Crypto-Hash.html#t:SHA512">SHA512</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Crypto-Hash.html#t:SHA512">SHA512</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Crypto-Hash.html#t:SHA512">SHA512</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA512:HashAlgorithm:2" class="instance expander" onclick="toggleSection('i:id:SHA512:HashAlgorithm:2')"></span> <a href="file:///usr/share/doc/libghc-cryptonite-doc/html/Crypto-Hash-IO.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA512">SHA512</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SHA512:HashAlgorithm:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:SHA512">SHA512</a> -> <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:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashDigestSize">hashDigestSize</a> :: <a href="Crypto-Hash.html#t:SHA512">SHA512</a> -> <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:hashDigestSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalContextSize">hashInternalContextSize</a> :: <a href="Crypto-Hash.html#t:SHA512">SHA512</a> -> <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:hashInternalContextSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalInit">hashInternalInit</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA512">SHA512</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalInit" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalUpdate">hashInternalUpdate</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA512">SHA512</a>) -> <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> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalUpdate" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalFinalize">hashInternalFinalize</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA512">SHA512</a>) -> <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA512">SHA512</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalFinalize" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA512:HashAlgorithm:3" class="instance expander" onclick="toggleSection('i:id:SHA512:HashAlgorithm:3')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA512">SHA512</a></span> <a href="src/Crypto-Hash.html#line-158" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>SHA512 cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:id:SHA512:HashAlgorithm:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA512">SHA512</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA512">SHA512</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA512">SHA512</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA512">SHA512</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA512">SHA512</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA512">SHA512</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA512">SHA512</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" 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:RIPEMD160" class="def">RIPEMD160</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="#t:RIPEMD160" class="selflink">#</a></p><div class="doc"><p>RIPEMD160 cryptographic hash algorithm</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:RIPEMD160" class="def">RIPEMD160</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:RIPEMD160" class="caption collapser" onclick="toggleSection('i:RIPEMD160')">Instances</p><div id="section.i:RIPEMD160" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:RIPEMD160:Show:1" class="instance expander" onclick="toggleSection('i:id:RIPEMD160:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:RIPEMD160:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:RIPEMD160:HashAlgorithm:2" class="instance expander" onclick="toggleSection('i:id:RIPEMD160:HashAlgorithm:2')"></span> <a href="file:///usr/share/doc/libghc-cryptonite-doc/html/Crypto-Hash-IO.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:RIPEMD160:HashAlgorithm:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a> -> <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:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashDigestSize">hashDigestSize</a> :: <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a> -> <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:hashDigestSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalContextSize">hashInternalContextSize</a> :: <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a> -> <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:hashInternalContextSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalInit">hashInternalInit</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalInit" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalUpdate">hashInternalUpdate</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a>) -> <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> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalUpdate" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalFinalize">hashInternalFinalize</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a>) -> <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalFinalize" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:RIPEMD160:HashAlgorithm:3" class="instance expander" onclick="toggleSection('i:id:RIPEMD160:HashAlgorithm:3')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a></span> <a href="src/Crypto-Hash.html#line-161" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>RIPEMD160 cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:id:RIPEMD160:HashAlgorithm:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:RIPEMD160">RIPEMD160</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" 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:Tiger" class="def">Tiger</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="#t:Tiger" class="selflink">#</a></p><div class="doc"><p>Tiger cryptographic hash algorithm</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Tiger" class="def">Tiger</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:Tiger" class="caption collapser" onclick="toggleSection('i:Tiger')">Instances</p><div id="section.i:Tiger" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Tiger:Show:1" class="instance expander" onclick="toggleSection('i:id:Tiger:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Crypto-Hash.html#t:Tiger">Tiger</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Tiger:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Crypto-Hash.html#t:Tiger">Tiger</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Crypto-Hash.html#t:Tiger">Tiger</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Crypto-Hash.html#t:Tiger">Tiger</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Tiger:HashAlgorithm:2" class="instance expander" onclick="toggleSection('i:id:Tiger:HashAlgorithm:2')"></span> <a href="file:///usr/share/doc/libghc-cryptonite-doc/html/Crypto-Hash-IO.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:Tiger">Tiger</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Tiger:HashAlgorithm:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Tiger">Tiger</a> -> <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:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashDigestSize">hashDigestSize</a> :: <a href="Crypto-Hash.html#t:Tiger">Tiger</a> -> <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:hashDigestSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalContextSize">hashInternalContextSize</a> :: <a href="Crypto-Hash.html#t:Tiger">Tiger</a> -> <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:hashInternalContextSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalInit">hashInternalInit</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Tiger">Tiger</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalInit" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalUpdate">hashInternalUpdate</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Tiger">Tiger</a>) -> <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> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalUpdate" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalFinalize">hashInternalFinalize</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Tiger">Tiger</a>) -> <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Tiger">Tiger</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalFinalize" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Tiger:HashAlgorithm:3" class="instance expander" onclick="toggleSection('i:id:Tiger:HashAlgorithm:3')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:Tiger">Tiger</a></span> <a href="src/Crypto-Hash.html#line-165" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>Tiger cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:id:Tiger:HashAlgorithm:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Tiger">Tiger</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Tiger">Tiger</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Tiger">Tiger</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Tiger">Tiger</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Tiger">Tiger</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Tiger">Tiger</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Tiger">Tiger</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" 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:SHA3_224" class="def">SHA3_224</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="#t:SHA3_224" class="selflink">#</a></p><div class="doc"><p>SHA3 (224 bits) cryptographic hash algorithm</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:SHA3_224" class="def">SHA3_224</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:SHA3_224" class="caption collapser" onclick="toggleSection('i:SHA3_224')">Instances</p><div id="section.i:SHA3_224" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA3_224:Show:1" class="instance expander" onclick="toggleSection('i:id:SHA3_224:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SHA3_224:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA3_224:HashAlgorithm:2" class="instance expander" onclick="toggleSection('i:id:SHA3_224:HashAlgorithm:2')"></span> <a href="file:///usr/share/doc/libghc-cryptonite-doc/html/Crypto-Hash-IO.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SHA3_224:HashAlgorithm:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a> -> <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:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashDigestSize">hashDigestSize</a> :: <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a> -> <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:hashDigestSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalContextSize">hashInternalContextSize</a> :: <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a> -> <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:hashInternalContextSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalInit">hashInternalInit</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalInit" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalUpdate">hashInternalUpdate</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a>) -> <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> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalUpdate" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalFinalize">hashInternalFinalize</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a>) -> <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalFinalize" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA3_224:HashAlgorithm:3" class="instance expander" onclick="toggleSection('i:id:SHA3_224:HashAlgorithm:3')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a></span> <a href="src/Crypto-Hash.html#line-168" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>SHA3 (224 bits version) cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:id:SHA3_224:HashAlgorithm:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_224">SHA3_224</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" 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:SHA3_256" class="def">SHA3_256</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="#t:SHA3_256" class="selflink">#</a></p><div class="doc"><p>SHA3 (256 bits) cryptographic hash algorithm</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:SHA3_256" class="def">SHA3_256</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:SHA3_256" class="caption collapser" onclick="toggleSection('i:SHA3_256')">Instances</p><div id="section.i:SHA3_256" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA3_256:Show:1" class="instance expander" onclick="toggleSection('i:id:SHA3_256:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SHA3_256:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA3_256:HashAlgorithm:2" class="instance expander" onclick="toggleSection('i:id:SHA3_256:HashAlgorithm:2')"></span> <a href="file:///usr/share/doc/libghc-cryptonite-doc/html/Crypto-Hash-IO.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SHA3_256:HashAlgorithm:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a> -> <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:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashDigestSize">hashDigestSize</a> :: <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a> -> <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:hashDigestSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalContextSize">hashInternalContextSize</a> :: <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a> -> <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:hashInternalContextSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalInit">hashInternalInit</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalInit" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalUpdate">hashInternalUpdate</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a>) -> <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> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalUpdate" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalFinalize">hashInternalFinalize</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a>) -> <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalFinalize" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA3_256:HashAlgorithm:3" class="instance expander" onclick="toggleSection('i:id:SHA3_256:HashAlgorithm:3')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a></span> <a href="src/Crypto-Hash.html#line-170" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>SHA3 (256 bits version) cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:id:SHA3_256:HashAlgorithm:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_256">SHA3_256</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" 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:SHA3_384" class="def">SHA3_384</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="#t:SHA3_384" class="selflink">#</a></p><div class="doc"><p>SHA3 (384 bits) cryptographic hash algorithm</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:SHA3_384" class="def">SHA3_384</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:SHA3_384" class="caption collapser" onclick="toggleSection('i:SHA3_384')">Instances</p><div id="section.i:SHA3_384" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA3_384:Show:1" class="instance expander" onclick="toggleSection('i:id:SHA3_384:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SHA3_384:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA3_384:HashAlgorithm:2" class="instance expander" onclick="toggleSection('i:id:SHA3_384:HashAlgorithm:2')"></span> <a href="file:///usr/share/doc/libghc-cryptonite-doc/html/Crypto-Hash-IO.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SHA3_384:HashAlgorithm:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a> -> <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:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashDigestSize">hashDigestSize</a> :: <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a> -> <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:hashDigestSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalContextSize">hashInternalContextSize</a> :: <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a> -> <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:hashInternalContextSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalInit">hashInternalInit</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalInit" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalUpdate">hashInternalUpdate</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a>) -> <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> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalUpdate" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalFinalize">hashInternalFinalize</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a>) -> <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalFinalize" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA3_384:HashAlgorithm:3" class="instance expander" onclick="toggleSection('i:id:SHA3_384:HashAlgorithm:3')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a></span> <a href="src/Crypto-Hash.html#line-172" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>SHA3 (384 bits version) cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:id:SHA3_384:HashAlgorithm:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_384">SHA3_384</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" 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:SHA3_512" class="def">SHA3_512</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="#t:SHA3_512" class="selflink">#</a></p><div class="doc"><p>SHA3 (512 bits) cryptographic hash algorithm</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:SHA3_512" class="def">SHA3_512</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:SHA3_512" class="caption collapser" onclick="toggleSection('i:SHA3_512')">Instances</p><div id="section.i:SHA3_512" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA3_512:Show:1" class="instance expander" onclick="toggleSection('i:id:SHA3_512:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SHA3_512:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA3_512:HashAlgorithm:2" class="instance expander" onclick="toggleSection('i:id:SHA3_512:HashAlgorithm:2')"></span> <a href="file:///usr/share/doc/libghc-cryptonite-doc/html/Crypto-Hash-IO.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SHA3_512:HashAlgorithm:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a> -> <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:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashDigestSize">hashDigestSize</a> :: <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a> -> <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:hashDigestSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalContextSize">hashInternalContextSize</a> :: <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a> -> <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:hashInternalContextSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalInit">hashInternalInit</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalInit" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalUpdate">hashInternalUpdate</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a>) -> <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> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalUpdate" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalFinalize">hashInternalFinalize</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a>) -> <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalFinalize" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SHA3_512:HashAlgorithm:3" class="instance expander" onclick="toggleSection('i:id:SHA3_512:HashAlgorithm:3')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a></span> <a href="src/Crypto-Hash.html#line-174" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>SHA3 (512 bits version) cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:id:SHA3_512:HashAlgorithm:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:SHA3_512">SHA3_512</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" 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:Skein256_224" class="def">Skein256_224</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="#t:Skein256_224" class="selflink">#</a></p><div class="doc"><p>Skein256 (224 bits) cryptographic hash algorithm</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Skein256_224" class="def">Skein256_224</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:Skein256_224" class="caption collapser" onclick="toggleSection('i:Skein256_224')">Instances</p><div id="section.i:Skein256_224" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Skein256_224:Show:1" class="instance expander" onclick="toggleSection('i:id:Skein256_224:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Skein256_224:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Skein256_224:HashAlgorithm:2" class="instance expander" onclick="toggleSection('i:id:Skein256_224:HashAlgorithm:2')"></span> <a href="file:///usr/share/doc/libghc-cryptonite-doc/html/Crypto-Hash-IO.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Skein256_224:HashAlgorithm:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a> -> <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:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashDigestSize">hashDigestSize</a> :: <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a> -> <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:hashDigestSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalContextSize">hashInternalContextSize</a> :: <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a> -> <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:hashInternalContextSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalInit">hashInternalInit</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalInit" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalUpdate">hashInternalUpdate</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a>) -> <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> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalUpdate" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalFinalize">hashInternalFinalize</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a>) -> <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalFinalize" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Skein256_224:HashAlgorithm:3" class="instance expander" onclick="toggleSection('i:id:Skein256_224:HashAlgorithm:3')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a></span> <a href="src/Crypto-Hash.html#line-177" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>Skein256 (224 bits version) cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:id:Skein256_224:HashAlgorithm:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein256_224">Skein256_224</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" 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:Skein256_256" class="def">Skein256_256</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="#t:Skein256_256" class="selflink">#</a></p><div class="doc"><p>Skein256 (256 bits) cryptographic hash algorithm</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Skein256_256" class="def">Skein256_256</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:Skein256_256" class="caption collapser" onclick="toggleSection('i:Skein256_256')">Instances</p><div id="section.i:Skein256_256" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Skein256_256:Show:1" class="instance expander" onclick="toggleSection('i:id:Skein256_256:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Skein256_256:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Skein256_256:HashAlgorithm:2" class="instance expander" onclick="toggleSection('i:id:Skein256_256:HashAlgorithm:2')"></span> <a href="file:///usr/share/doc/libghc-cryptonite-doc/html/Crypto-Hash-IO.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Skein256_256:HashAlgorithm:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a> -> <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:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashDigestSize">hashDigestSize</a> :: <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a> -> <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:hashDigestSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalContextSize">hashInternalContextSize</a> :: <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a> -> <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:hashInternalContextSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalInit">hashInternalInit</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalInit" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalUpdate">hashInternalUpdate</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a>) -> <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> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalUpdate" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalFinalize">hashInternalFinalize</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a>) -> <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalFinalize" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Skein256_256:HashAlgorithm:3" class="instance expander" onclick="toggleSection('i:id:Skein256_256:HashAlgorithm:3')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a></span> <a href="src/Crypto-Hash.html#line-179" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>Skein256 (256 bits version) cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:id:Skein256_256:HashAlgorithm:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein256_256">Skein256_256</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" 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:Skein512_224" class="def">Skein512_224</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="#t:Skein512_224" class="selflink">#</a></p><div class="doc"><p>Skein512 (224 bits) cryptographic hash algorithm</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Skein512_224" class="def">Skein512_224</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:Skein512_224" class="caption collapser" onclick="toggleSection('i:Skein512_224')">Instances</p><div id="section.i:Skein512_224" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Skein512_224:Show:1" class="instance expander" onclick="toggleSection('i:id:Skein512_224:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Skein512_224:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Skein512_224:HashAlgorithm:2" class="instance expander" onclick="toggleSection('i:id:Skein512_224:HashAlgorithm:2')"></span> <a href="file:///usr/share/doc/libghc-cryptonite-doc/html/Crypto-Hash-IO.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Skein512_224:HashAlgorithm:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a> -> <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:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashDigestSize">hashDigestSize</a> :: <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a> -> <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:hashDigestSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalContextSize">hashInternalContextSize</a> :: <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a> -> <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:hashInternalContextSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalInit">hashInternalInit</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalInit" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalUpdate">hashInternalUpdate</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a>) -> <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> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalUpdate" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalFinalize">hashInternalFinalize</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a>) -> <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalFinalize" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Skein512_224:HashAlgorithm:3" class="instance expander" onclick="toggleSection('i:id:Skein512_224:HashAlgorithm:3')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a></span> <a href="src/Crypto-Hash.html#line-182" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>Skein512 (224 bits version) cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:id:Skein512_224:HashAlgorithm:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein512_224">Skein512_224</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" 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:Skein512_256" class="def">Skein512_256</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="#t:Skein512_256" class="selflink">#</a></p><div class="doc"><p>Skein512 (256 bits) cryptographic hash algorithm</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Skein512_256" class="def">Skein512_256</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:Skein512_256" class="caption collapser" onclick="toggleSection('i:Skein512_256')">Instances</p><div id="section.i:Skein512_256" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Skein512_256:Show:1" class="instance expander" onclick="toggleSection('i:id:Skein512_256:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Skein512_256:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Skein512_256:HashAlgorithm:2" class="instance expander" onclick="toggleSection('i:id:Skein512_256:HashAlgorithm:2')"></span> <a href="file:///usr/share/doc/libghc-cryptonite-doc/html/Crypto-Hash-IO.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Skein512_256:HashAlgorithm:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a> -> <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:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashDigestSize">hashDigestSize</a> :: <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a> -> <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:hashDigestSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalContextSize">hashInternalContextSize</a> :: <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a> -> <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:hashInternalContextSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalInit">hashInternalInit</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalInit" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalUpdate">hashInternalUpdate</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a>) -> <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> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalUpdate" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalFinalize">hashInternalFinalize</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a>) -> <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalFinalize" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Skein512_256:HashAlgorithm:3" class="instance expander" onclick="toggleSection('i:id:Skein512_256:HashAlgorithm:3')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a></span> <a href="src/Crypto-Hash.html#line-184" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>Skein512 (256 bits version) cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:id:Skein512_256:HashAlgorithm:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein512_256">Skein512_256</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" 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:Skein512_384" class="def">Skein512_384</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="#t:Skein512_384" class="selflink">#</a></p><div class="doc"><p>Skein512 (384 bits) cryptographic hash algorithm</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Skein512_384" class="def">Skein512_384</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:Skein512_384" class="caption collapser" onclick="toggleSection('i:Skein512_384')">Instances</p><div id="section.i:Skein512_384" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Skein512_384:Show:1" class="instance expander" onclick="toggleSection('i:id:Skein512_384:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Skein512_384:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Skein512_384:HashAlgorithm:2" class="instance expander" onclick="toggleSection('i:id:Skein512_384:HashAlgorithm:2')"></span> <a href="file:///usr/share/doc/libghc-cryptonite-doc/html/Crypto-Hash-IO.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Skein512_384:HashAlgorithm:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a> -> <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:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashDigestSize">hashDigestSize</a> :: <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a> -> <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:hashDigestSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalContextSize">hashInternalContextSize</a> :: <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a> -> <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:hashInternalContextSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalInit">hashInternalInit</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalInit" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalUpdate">hashInternalUpdate</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a>) -> <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> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalUpdate" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalFinalize">hashInternalFinalize</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a>) -> <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalFinalize" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Skein512_384:HashAlgorithm:3" class="instance expander" onclick="toggleSection('i:id:Skein512_384:HashAlgorithm:3')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a></span> <a href="src/Crypto-Hash.html#line-186" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>Skein512 (384 bits version) cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:id:Skein512_384:HashAlgorithm:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein512_384">Skein512_384</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" 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:Skein512_512" class="def">Skein512_512</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="#t:Skein512_512" class="selflink">#</a></p><div class="doc"><p>Skein512 (512 bits) cryptographic hash algorithm</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Skein512_512" class="def">Skein512_512</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:Skein512_512" class="caption collapser" onclick="toggleSection('i:Skein512_512')">Instances</p><div id="section.i:Skein512_512" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Skein512_512:Show:1" class="instance expander" onclick="toggleSection('i:id:Skein512_512:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Skein512_512:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Skein512_512:HashAlgorithm:2" class="instance expander" onclick="toggleSection('i:id:Skein512_512:HashAlgorithm:2')"></span> <a href="file:///usr/share/doc/libghc-cryptonite-doc/html/Crypto-Hash-IO.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Skein512_512:HashAlgorithm:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a> -> <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:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashDigestSize">hashDigestSize</a> :: <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a> -> <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:hashDigestSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalContextSize">hashInternalContextSize</a> :: <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a> -> <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:hashInternalContextSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalInit">hashInternalInit</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalInit" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalUpdate">hashInternalUpdate</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a>) -> <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> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalUpdate" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalFinalize">hashInternalFinalize</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a>) -> <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalFinalize" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Skein512_512:HashAlgorithm:3" class="instance expander" onclick="toggleSection('i:id:Skein512_512:HashAlgorithm:3')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a></span> <a href="src/Crypto-Hash.html#line-188" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>Skein512 (512 bits version) cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:id:Skein512_512:HashAlgorithm:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Skein512_512">Skein512_512</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" 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:Whirlpool" class="def">Whirlpool</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="#t:Whirlpool" class="selflink">#</a></p><div class="doc"><p>Whirlpool cryptographic hash algorithm</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Whirlpool" class="def">Whirlpool</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:Whirlpool" class="caption collapser" onclick="toggleSection('i:Whirlpool')">Instances</p><div id="section.i:Whirlpool" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Whirlpool:Show:1" class="instance expander" onclick="toggleSection('i:id:Whirlpool:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Whirlpool:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Whirlpool:HashAlgorithm:2" class="instance expander" onclick="toggleSection('i:id:Whirlpool:HashAlgorithm:2')"></span> <a href="file:///usr/share/doc/libghc-cryptonite-doc/html/Crypto-Hash-IO.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Whirlpool:HashAlgorithm:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a> -> <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:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashDigestSize">hashDigestSize</a> :: <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a> -> <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:hashDigestSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalContextSize">hashInternalContextSize</a> :: <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a> -> <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:hashInternalContextSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalInit">hashInternalInit</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalInit" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalUpdate">hashInternalUpdate</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a>) -> <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> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalUpdate" class="selflink">#</a></p><p class="src"><a href="#v:hashInternalFinalize">hashInternalFinalize</a> :: <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a>) -> <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/libghc-cryptonite-doc/html/Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a>) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:hashInternalFinalize" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Whirlpool:HashAlgorithm:3" class="instance expander" onclick="toggleSection('i:id:Whirlpool:HashAlgorithm:3')"></span> <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a></span> <a href="src/Crypto-Hash.html#line-163" class="link">Source</a> <a href="#t:HashAlgorithm" class="selflink">#</a></td><td class="doc"><p>Whirlpool cryptographic hash</p></td></tr><tr><td colspan="2"><div id="section.i:id:Whirlpool:HashAlgorithm:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:hashBlockSize">hashBlockSize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Crypto-Hash.html#hashBlockSize" class="link">Source</a> <a href="#v:hashBlockSize" class="selflink">#</a></p><p class="src"><a href="#v:hashInit">hashInit</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a> <a href="src/Crypto-Hash.html#hashInit" class="link">Source</a> <a href="#v:hashInit" class="selflink">#</a></p><p class="src"><a href="#v:hashUpdates">hashUpdates</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -> <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a> <a href="src/Crypto-Hash.html#hashUpdates" class="link">Source</a> <a href="#v:hashUpdates" class="selflink">#</a></p><p class="src"><a href="#v:hashFinalize">hashFinalize</a> :: <a href="Crypto-Hash.html#t:Context">Context</a> <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a> -> <a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a> <a href="src/Crypto-Hash.html#hashFinalize" class="link">Source</a> <a href="#v:hashFinalize" class="selflink">#</a></p><p class="src"><a href="#v:digestFromByteString">digestFromByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Crypto-Hash.html#t:Digest">Digest</a> <a href="Crypto-Hash.html#t:Whirlpool">Whirlpool</a>) <a href="src/Crypto-Hash.html#digestFromByteString" class="link">Source</a> <a href="#v:digestFromByteString" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><h1 id="g:4">MAC algorithms</h1><div class="top"><p class="src"><span class="keyword">newtype</span> <a id="t:HMAC" class="def">HMAC</a> a <a href="src/Crypto-Hash.html#HMAC" class="link">Source</a> <a href="#t:HMAC" class="selflink">#</a></p><div class="doc"><p>Represent an HMAC that is a phantom type with the hash used to produce the mac.</p><p>The Eq instance is constant time.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:HMAC" class="def">HMAC</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:hmacGetDigest" class="def">hmacGetDigest</a> :: <a href="Crypto-Hash.html#t:Digest">Digest</a> a</dfn><div class="doc empty"> </div></li></ul></div></td></tr></table></div><div class="subs instances"><p id="control.i:HMAC" class="caption collapser" onclick="toggleSection('i:HMAC')">Instances</p><div id="section.i:HMAC" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:HMAC:Eq:1" class="instance expander" onclick="toggleSection('i:id:HMAC: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-Hash.html#t:HMAC">HMAC</a> a)</span> <a href="src/Crypto-Hash.html#line-202" class="link">Source</a> <a href="#t:HMAC" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:HMAC: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-Hash.html#t:HMAC">HMAC</a> a -> <a href="Crypto-Hash.html#t:HMAC">HMAC</a> a -> <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-Hash.html#t:HMAC">HMAC</a> a -> <a href="Crypto-Hash.html#t:HMAC">HMAC</a> a -> <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:HMAC:Byteable:2" class="instance expander" onclick="toggleSection('i:id:HMAC:Byteable:2')"></span> <a href="file:///usr/share/doc/libghc-byteable-doc/html/Data-Byteable.html#t:Byteable">Byteable</a> (<a href="Crypto-Hash.html#t:HMAC">HMAC</a> a)</span> <a href="src/Crypto-Hash.html#line-199" class="link">Source</a> <a href="#t:HMAC" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:HMAC: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-Hash.html#t:HMAC">HMAC</a> a -> <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-Hash.html#t:HMAC">HMAC</a> a -> <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-Hash.html#t:HMAC">HMAC</a> a -> (<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> -> <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="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:hmac" class="def">hmac</a> <a href="src/Crypto-Hash.html#hmac" class="link">Source</a> <a href="#v:hmac" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> a</td><td class="doc empty"> </td></tr><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 key</p></td></tr><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>Message to MAC</p></td></tr><tr><td class="src">-> <a href="Crypto-Hash.html#t:HMAC">HMAC</a> a</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>compute a MAC using the supplied hashing function</p></div></div><div class="top"><p class="src"><a id="v:hmacAlg" class="def">hmacAlg</a> <a href="src/Crypto-Hash.html#hmacAlg" class="link">Source</a> <a href="#v:hmacAlg" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Crypto-Hash.html#t:HashAlgorithm">HashAlgorithm</a> a</td><td class="doc empty"> </td></tr><tr><td class="src">=> a</td><td class="doc"><p>the hash algorithm the actual value is unused.</p></td></tr><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 key</p></td></tr><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>Message to MAC</p></td></tr><tr><td class="src">-> <a href="Crypto-Hash.html#t:HMAC">HMAC</a> a</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>compute a HMAC using a specified algorithm</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>
|