/usr/share/doc/libghc-hsopenssl-doc/html/OpenSSL-EVP-Digest.html is in libghc-hsopenssl-doc 0.11.1.1-2.
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 | <!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>OpenSSL.EVP.Digest</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_OpenSSL-EVP-Digest.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/OpenSSL-EVP-Digest.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">HsOpenSSL-0.11.1.1: Partial OpenSSL binding for Haskell</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">OpenSSL.EVP.Digest</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>An interface to message digest algorithms.</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">data</span> <a href="#t:Digest">Digest</a></li><li class="src short"><a href="#v:getDigestByName">getDigestByName</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="OpenSSL-EVP-Digest.html#t:Digest">Digest</a>)</li><li class="src short"><a href="#v:getDigestNames">getDigestNames</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a>]</li><li class="src short"><a href="#v:digest">digest</a> :: <a href="OpenSSL-EVP-Digest.html#t:Digest">Digest</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:digestBS">digestBS</a> :: <a href="OpenSSL-EVP-Digest.html#t:Digest">Digest</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></li><li class="src short"><a href="#v:digestLBS">digestLBS</a> :: <a href="OpenSSL-EVP-Digest.html#t:Digest">Digest</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></li><li class="src short"><a href="#v:hmacBS">hmacBS</a> :: <a href="OpenSSL-EVP-Digest.html#t:Digest">Digest</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></li><li class="src short"><a href="#v:pkcs5_pbkdf2_hmac_sha1">pkcs5_pbkdf2_hmac_sha1</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Digest" class="def">Digest</a> <a href="src/OpenSSL-EVP-Internal.html#Digest" class="link">Source</a></p><div class="doc"><p><code>Digest</code> is an opaque object that represents an algorithm of
message digest.</p></div></div><div class="top"><p class="src"><a name="v:getDigestByName" class="def">getDigestByName</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="OpenSSL-EVP-Digest.html#t:Digest">Digest</a>) <a href="src/OpenSSL-EVP-Digest.html#getDigestByName" class="link">Source</a></p><div class="doc"><p><code><code><a href="OpenSSL-EVP-Digest.html#v:getDigestByName">getDigestByName</a></code> name</code> returns a message digest algorithm whose
name is <code>name</code>. If no algorithms are found, the result is
<code>Nothing</code>.</p></div></div><div class="top"><p class="src"><a name="v:getDigestNames" class="def">getDigestNames</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a>] <a href="src/OpenSSL-EVP-Digest.html#getDigestNames" class="link">Source</a></p><div class="doc"><p><code><code><a href="OpenSSL-EVP-Digest.html#v:getDigestNames">getDigestNames</a></code></code> returns a list of name of message digest
algorithms.</p></div></div><div class="top"><p class="src"><a name="v:digest" class="def">digest</a> :: <a href="OpenSSL-EVP-Digest.html#t:Digest">Digest</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> <a href="src/OpenSSL-EVP-Digest.html#digest" class="link">Source</a></p><div class="doc"><div class="warning"><p>Deprecated: Use digestBS or digestLBS instead.</p></div><p><code><code><a href="OpenSSL-EVP-Digest.html#v:digest">digest</a></code></code> digests a stream of data. The string must
not contain any letters which aren't in the range of U+0000 -
U+00FF.</p></div></div><div class="top"><p class="src"><a name="v:digestBS" class="def">digestBS</a> :: <a href="OpenSSL-EVP-Digest.html#t:Digest">Digest</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/OpenSSL-EVP-Digest.html#digestBS" class="link">Source</a></p><div class="doc"><p><code><code><a href="OpenSSL-EVP-Digest.html#v:digestBS">digestBS</a></code></code> digests a chunk of data.</p></div></div><div class="top"><p class="src"><a name="v:digestLBS" class="def">digestLBS</a> :: <a href="OpenSSL-EVP-Digest.html#t:Digest">Digest</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/OpenSSL-EVP-Digest.html#digestLBS" class="link">Source</a></p><div class="doc"><p><code><code><a href="OpenSSL-EVP-Digest.html#v:digestLBS">digestLBS</a></code></code> digests a stream of data.</p></div></div><div class="top"><p class="src"><a name="v:hmacBS" class="def">hmacBS</a> <a href="src/OpenSSL-EVP-Digest.html#hmacBS" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="OpenSSL-EVP-Digest.html#t:Digest">Digest</a></td><td class="doc"><p>the hash function to use in the HMAC calculation</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc"><p>the HMAC key</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc"><p>the data to be signed</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc"><p>resulting HMAC</p></td></tr></table></div><div class="doc"><p>Perform a private key signing using the HMAC template with a given hash</p></div></div><div class="top"><p class="src"><a name="v:pkcs5_pbkdf2_hmac_sha1" class="def">pkcs5_pbkdf2_hmac_sha1</a> <a href="src/OpenSSL-EVP-Digest.html#pkcs5_pbkdf2_hmac_sha1" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc"><p>password</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc"><p>salt</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>iterations</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>destination key length</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc"><p>destination key</p></td></tr></table></div><div class="doc"><p>Calculate a PKCS5-PBKDF2 SHA1-HMAC suitable for password hashing.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>
|