This file is indexed.

/usr/share/doc/libghc-cryptonite-doc/html/Crypto-Cipher-Salsa.html is in libghc-cryptonite-doc 0.23-2build5.

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
<!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.Cipher.Salsa</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-Cipher-Salsa.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Crypto-Cipher-Salsa.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">cryptonite-0.23: Cryptography Primitives sink</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>License</th><td>BSD-style</td></tr><tr><th>Maintainer</th><td>Vincent Hanquez &lt;vincent@snarc.org&gt;</td></tr><tr><th>Stability</th><td>stable</td></tr><tr><th>Portability</th><td>good</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Crypto.Cipher.Salsa</p></div><div id="description"><p class="caption">Description</p><div class="doc empty">&nbsp;</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"><a href="#v:initialize">initialize</a> :: (<a href="file:///usr/share/doc/libghc-memory-doc/html/Data-ByteArray.html#t:ByteArrayAccess">ByteArrayAccess</a> key, <a href="file:///usr/share/doc/libghc-memory-doc/html/Data-ByteArray.html#t:ByteArrayAccess">ByteArrayAccess</a> nonce) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; key -&gt; nonce -&gt; <a href="Crypto-Cipher-Salsa.html#t:State">State</a></li><li class="src short"><a href="#v:combine">combine</a> :: <a href="file:///usr/share/doc/libghc-memory-doc/html/Data-ByteArray.html#t:ByteArray">ByteArray</a> ba =&gt; <a href="Crypto-Cipher-Salsa.html#t:State">State</a> -&gt; ba -&gt; (ba, <a href="Crypto-Cipher-Salsa.html#t:State">State</a>)</li><li class="src short"><a href="#v:generate">generate</a> :: <a href="file:///usr/share/doc/libghc-memory-doc/html/Data-ByteArray.html#t:ByteArray">ByteArray</a> ba =&gt; <a href="Crypto-Cipher-Salsa.html#t:State">State</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; (ba, <a href="Crypto-Cipher-Salsa.html#t:State">State</a>)</li><li class="src short"><span class="keyword">newtype</span> <a href="#t:State">State</a> = <a href="#v:State">State</a> <a href="file:///usr/share/doc/libghc-memory-doc/html/Data-ByteArray.html#t:ScrubbedBytes">ScrubbedBytes</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:initialize" class="def">initialize</a> <a href="src/Crypto-Cipher-Salsa.html#initialize" class="link">Source</a> <a href="#v:initialize" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/libghc-memory-doc/html/Data-ByteArray.html#t:ByteArrayAccess">ByteArrayAccess</a> key, <a href="file:///usr/share/doc/libghc-memory-doc/html/Data-ByteArray.html#t:ByteArrayAccess">ByteArrayAccess</a> nonce)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>number of rounds (8,12,20)</p></td></tr><tr><td class="src">-&gt; key</td><td class="doc"><p>the key (128 or 256 bits)</p></td></tr><tr><td class="src">-&gt; nonce</td><td class="doc"><p>the nonce (64 or 96 bits)</p></td></tr><tr><td class="src">-&gt; <a href="Crypto-Cipher-Salsa.html#t:State">State</a></td><td class="doc"><p>the initial Salsa state</p></td></tr></table></div><div class="doc"><p>Initialize a new Salsa context with the number of rounds,
 the key and the nonce associated.</p></div></div><div class="top"><p class="src"><a id="v:combine" class="def">combine</a> <a href="src/Crypto-Cipher-Salsa.html#combine" class="link">Source</a> <a href="#v:combine" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/libghc-memory-doc/html/Data-ByteArray.html#t:ByteArray">ByteArray</a> ba</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="Crypto-Cipher-Salsa.html#t:State">State</a></td><td class="doc"><p>the current Salsa state</p></td></tr><tr><td class="src">-&gt; ba</td><td class="doc"><p>the source to xor with the generator</p></td></tr><tr><td class="src">-&gt; (ba, <a href="Crypto-Cipher-Salsa.html#t:State">State</a>)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Combine the salsa output and an arbitrary message with a xor,
 and return the combined output and the new state.</p></div></div><div class="top"><p class="src"><a id="v:generate" class="def">generate</a> <a href="src/Crypto-Cipher-Salsa.html#generate" class="link">Source</a> <a href="#v:generate" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/libghc-memory-doc/html/Data-ByteArray.html#t:ByteArray">ByteArray</a> ba</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="Crypto-Cipher-Salsa.html#t:State">State</a></td><td class="doc"><p>the current Salsa state</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>the length of data to generate</p></td></tr><tr><td class="src">-&gt; (ba, <a href="Crypto-Cipher-Salsa.html#t:State">State</a>)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Generate a number of bytes from the Salsa output directly</p></div></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a id="t:State" class="def">State</a> <a href="src/Crypto-Cipher-Salsa.html#State" class="link">Source</a> <a href="#t:State" class="selflink">#</a></p><div class="doc"><p>Salsa context</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:State" class="def">State</a> <a href="file:///usr/share/doc/libghc-memory-doc/html/Data-ByteArray.html#t:ScrubbedBytes">ScrubbedBytes</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:State" class="caption collapser" onclick="toggleSection('i:State')">Instances</p><div id="section.i:State" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:State:NFData:1" class="instance expander" onclick="toggleSection('i:id:State:NFData:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/deepseq-1.4.2.0/Control-DeepSeq.html#t:NFData">NFData</a> <a href="Crypto-Cipher-Salsa.html#t:State">State</a></span> <a href="src/Crypto-Cipher-Salsa.html#line-26" class="link">Source</a> <a href="#t:State" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:State:NFData:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:rnf">rnf</a> :: <a href="Crypto-Cipher-Salsa.html#t:State">State</a> -&gt; () <a href="#v:rnf" class="selflink">#</a></p></div></div></td></tr></table></div></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></html>