This file is indexed.

/usr/share/doc/libghc-cprng-aes-doc/html/Crypto-Random-AESCtr.html is in libghc-cprng-aes-doc 0.2.3-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
14
15
16
17
<!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.2.3: Crypto Pseudo Random Number Generator using AES in counter mode.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>unknown</td></tr><tr><th>Stability</th><td>stable</td></tr><tr><th>Maintainer</th><td>Vincent Hanquez &lt;vincent@snarc.org&gt;</td></tr><tr><th>Safe Haskell</th><td>Safe-Infered</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="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bits.html#v:xor">xor</a></code> counter) -&gt; 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="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Either.html#t:Either">Either</a> <a href="/usr/share/doc/libghc-crypto-api-doc/html/Crypto-Random.html#t:GenError">GenError</a> <a href="Crypto-Random-AESCtr.html#t:AESRNG">AESRNG</a></li><li class="src short"><a href="#v:makeSystem">makeSystem</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="Crypto-Random-AESCtr.html#t:AESRNG">AESRNG</a></li><li class="src short"><a href="#v:genRandomBytes">genRandomBytes</a> :: <a href="Crypto-Random-AESCtr.html#t:AESRNG">AESRNG</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a> -&gt; (<a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</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>An opaque object containing an AES CPRNG 
</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"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Crypto-Random-AESCtr.html#t:AESRNG">AESRNG</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-crypto-api-doc/html/Crypto-Random.html#t:CryptoRandomGen">CryptoRandomGen</a> <a href="Crypto-Random-AESCtr.html#t:AESRNG">AESRNG</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-random-doc/html/System-Random.html#t:RandomGen">RandomGen</a> <a href="Crypto-Random-AESCtr.html#t:AESRNG">AESRNG</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:make" class="def">make</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Either.html#t:Either">Either</a> <a href="/usr/share/doc/libghc-crypto-api-doc/html/Crypto-Random.html#t:GenError">GenError</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 a bytestring seed. the bytestring need to be at least 64 bytes.
 if the bytestring is longer, the extra bytes will be ignored and will not take part in
 the initialization.
</p><p>use <code><a href="Crypto-Random-AESCtr.html#v:makeSystem">makeSystem</a></code> to not have to deal with the generator seed.
</p></div></div><div class="top"><p class="src"><a name="v:makeSystem" class="def">makeSystem</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.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.
</p></div></div><div class="top"><p class="src"><a name="v:genRandomBytes" class="def">genRandomBytes</a> :: <a href="Crypto-Random-AESCtr.html#t:AESRNG">AESRNG</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a> -&gt; (<a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a>, <a href="Crypto-Random-AESCtr.html#t:AESRNG">AESRNG</a>)<a href="src/Crypto-Random-AESCtr.html#genRandomBytes" class="link">Source</a></p><div class="doc"><p>get a Random number of bytes from the RNG.
 it generate randomness by block of 16 bytes, but will truncate
 to the number of bytes required, and lose the truncated bytes.
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.10.0</p></div></body></html>