/usr/share/doc/libghc-cprng-aes-doc/html/Crypto-Random-AESCtr.html is in libghc-cprng-aes-doc 0.6.1-3build1.
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>Crypto.Random.AESCtr</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Crypto-Random-AESCtr.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Crypto-Random-AESCtr.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">cprng-aes-0.6.1: Crypto Pseudo Random Number Generator using AES in counter mode.</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>stable</td></tr><tr><th>Portability</th><td>unknown</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Crypto.Random.AESCtr</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>this CPRNG is an AES based counter system.</p><p>the internal size of fields are: 16 bytes IV, 16 bytes counter, 32 bytes key</p><p>each block are generated the following way:
aes (IV <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bits.html#v:xor">xor</a></code> counter) -> 16 bytes output</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:AESRNG">AESRNG</a></li><li class="src short"><a href="#v:make">make</a> :: <a href="file:///usr/share/doc/libghc-crypto-random-doc/html/Crypto-Random.html#t:EntropyPool">EntropyPool</a> -> <a href="Crypto-Random-AESCtr.html#t:AESRNG">AESRNG</a></li><li class="src short"><a href="#v:makeSystem">makeSystem</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="Crypto-Random-AESCtr.html#t:AESRNG">AESRNG</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:AESRNG" class="def">AESRNG</a> <a href="src/Crypto-Random-AESCtr.html#AESRNG" class="link">Source</a></p><div class="doc"><p>AES Counter mode Pseudo random generator.</p><p>Provide a very good Cryptographic pseudo random generator
that create pseudo random output based an AES cipher
used in counter mode, initialized from random key, random IV
and random nonce.</p><p>This CPRG uses 64 bytes of pure entropy to create its random state.</p><p>By default, this generator will automatically reseed after generating
1 megabyte of data.</p></div><div class="subs instances"><p id="control.i:AESRNG" class="caption collapser" onclick="toggleSection('i:AESRNG')">Instances</p><div id="section.i:AESRNG" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Crypto-Random-AESCtr.html#t:AESRNG">AESRNG</a></span> <a href="src/Crypto-Random-AESCtr.html#line-49" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-crypto-random-doc/html/Crypto-Random.html#t:CPRG">CPRG</a> <a href="Crypto-Random-AESCtr.html#t:AESRNG">AESRNG</a></span> <a href="src/Crypto-Random-AESCtr.html#line-106" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:make" class="def">make</a> :: <a href="file:///usr/share/doc/libghc-crypto-random-doc/html/Crypto-Random.html#t:EntropyPool">EntropyPool</a> -> <a href="Crypto-Random-AESCtr.html#t:AESRNG">AESRNG</a> <a href="src/Crypto-Random-AESCtr.html#make" class="link">Source</a></p><div class="doc"><p>make an AES RNG from an EntropyPool.</p><p>use <code><a href="Crypto-Random-AESCtr.html#v:makeSystem">makeSystem</a></code> to not have to deal with the entropy pool.</p></div></div><div class="top"><p class="src"><a name="v:makeSystem" class="def">makeSystem</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="Crypto-Random-AESCtr.html#t:AESRNG">AESRNG</a> <a href="src/Crypto-Random-AESCtr.html#makeSystem" class="link">Source</a></p><div class="doc"><p>Initialize a new AES RNG using the system entropy.
{-<a name=" DEPRECATED makeSystem "use cprgCreate with an entropy pool" "></a>-}</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>
|