/usr/share/doc/libghc-cryptocipher-doc/html/Crypto-Cipher-RC4.html is in libghc-cryptocipher-doc 0.3.0-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 11 12 13 14 | <!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.RC4</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-Cipher-RC4.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Crypto-Cipher-RC4.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">cryptocipher-0.3.0: Symmetrical Block, Stream and PubKey Ciphers</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>Good</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Maintainer</th><td>Vincent Hanquez <vincent@snarc.org></td></tr><tr><th>Safe Haskell</th><td>Safe-Infered</td></tr></table><p class="caption">Crypto.Cipher.RC4</p></div><div id="description"><p class="caption">Description</p><div class="doc empty"> </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">type</span> <a href="#t:Ctx">Ctx</a> = (<a href="/usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Word.html#t:Word8">Word8</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Word.html#t:Word8">Word8</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Word.html#t:Word8">Word8</a>)</li><li class="src short"><a href="#v:initCtx">initCtx</a> :: [<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Word.html#t:Word8">Word8</a>] -> <a href="Crypto-Cipher-RC4.html#t:Ctx">Ctx</a></li><li class="src short"><a href="#v:encrypt">encrypt</a> :: <a href="Crypto-Cipher-RC4.html#t:Ctx">Ctx</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a> -> (<a href="Crypto-Cipher-RC4.html#t:Ctx">Ctx</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a>)</li><li class="src short"><a href="#v:decrypt">decrypt</a> :: <a href="Crypto-Cipher-RC4.html#t:Ctx">Ctx</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a> -> (<a href="Crypto-Cipher-RC4.html#t:Ctx">Ctx</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a>)</li><li class="src short"><a href="#v:encryptlazy">encryptlazy</a> :: <a href="Crypto-Cipher-RC4.html#t:Ctx">Ctx</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> (<a href="Crypto-Cipher-RC4.html#t:Ctx">Ctx</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>)</li><li class="src short"><a href="#v:decryptlazy">decryptlazy</a> :: <a href="Crypto-Cipher-RC4.html#t:Ctx">Ctx</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> (<a href="Crypto-Cipher-RC4.html#t:Ctx">Ctx</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>)</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:Ctx" class="def">Ctx</a> = (<a href="/usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Word.html#t:Word8">Word8</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Word.html#t:Word8">Word8</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Word.html#t:Word8">Word8</a>)<a href="src/Crypto-Cipher-RC4.html#Ctx" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:initCtx" class="def">initCtx</a> :: [<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Word.html#t:Word8">Word8</a>] -> <a href="Crypto-Cipher-RC4.html#t:Ctx">Ctx</a><a href="src/Crypto-Cipher-RC4.html#initCtx" class="link">Source</a></p><div class="doc"><p>initCtx initialize the Ctx with the key as parameter.
the key can be of any size but not empty
</p></div></div><div class="top"><p class="src"><a name="v:encrypt" class="def">encrypt</a> :: <a href="Crypto-Cipher-RC4.html#t:Ctx">Ctx</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a> -> (<a href="Crypto-Cipher-RC4.html#t:Ctx">Ctx</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a>)<a href="src/Crypto-Cipher-RC4.html#encrypt" class="link">Source</a></p><div class="doc"><p>encrypt with the current context a bytestring and returns a new context
and the resulted encrypted bytestring
</p></div></div><div class="top"><p class="src"><a name="v:decrypt" class="def">decrypt</a> :: <a href="Crypto-Cipher-RC4.html#t:Ctx">Ctx</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a> -> (<a href="Crypto-Cipher-RC4.html#t:Ctx">Ctx</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a>)<a href="src/Crypto-Cipher-RC4.html#decrypt" class="link">Source</a></p><div class="doc"><p>decrypt with the current context a bytestring and returns a new context
and the resulted decrypted bytestring
</p></div></div><div class="top"><p class="src"><a name="v:encryptlazy" class="def">encryptlazy</a> :: <a href="Crypto-Cipher-RC4.html#t:Ctx">Ctx</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> (<a href="Crypto-Cipher-RC4.html#t:Ctx">Ctx</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>)<a href="src/Crypto-Cipher-RC4.html#encryptlazy" class="link">Source</a></p><div class="doc"><p>encrypt with the current context a lazy bytestring and returns a new context
and the resulted lencrypted lazy bytestring
</p></div></div><div class="top"><p class="src"><a name="v:decryptlazy" class="def">decryptlazy</a> :: <a href="Crypto-Cipher-RC4.html#t:Ctx">Ctx</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> (<a href="Crypto-Cipher-RC4.html#t:Ctx">Ctx</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>)<a href="src/Crypto-Cipher-RC4.html#decryptlazy" class="link">Source</a></p><div class="doc"><p>decrypt with the current context a lazy bytestring and returns a new context
and the resulted decrypted lazy bytestring
</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>
|