autodoc.git
/
traditional.xml
version
»
Context lines:
10
20
40
80
file
none
3
autodoc.git/traditional.xml:1:
<?xml version='1.0' encoding='utf-8'?>
-
<manual time-stamp='2019-
10
-
31
' version='Pike v8.1.13'>
+
<manual time-stamp='2019-
11
-
01
' version='Pike v8.1.13'>
<dir name='./traditional_manual'> <file name='./traditional_manual/index.html'> <chapter title='Table of Contents' unnumbered='1'> <dl><dt><url href='index.html'>Table of Contents</url></dt> <dt><url href='chapter_1.html'>1. Introduction</url></dt> <dd><url href='chapter_1.html#1.1'>1.1. Overview</url></dd> <dd><url href='chapter_1.html#1.2'>1.2. The history of Pike</url></dd> <dd><url href='chapter_1.html#1.3'>1.3. A comparison with other languages</url></dd> <dd><url href='chapter_1.html#1.4'>1.4. What is Pike</url></dd> <dd><url href='chapter_1.html#1.5'>1.5. Pike License</url></dd>
autodoc.git/traditional.xml:145711:
is not the indended use for the <ref resolved='predef::__builtin.Nettle.Hash.pbkdf2'>pbkdf2</ref> algorithm.</p> </text></group><group><seealso/><text><p><ref resolved='predef::__builtin.Nettle.Hash.pbkdf2'>pbkdf2()</ref>, <ref resolved='predef::Crypto.Password.hash'>Crypto.Password.hash()</ref>, <ref resolved='predef::Crypto.Password.verify'>Crypto.Password.verify()</ref></p> </text></group></doc> <method name='crypt_pbkdf2'> <arguments><argument name='password'><type><string><min>0</min><max>255</max></string></type></argument><argument name='salt'><type><string><min>0</min><max>127</max></string></type></argument><argument name='rounds'><type><int/></type></argument></arguments> <returntype><string><min>0</min><max>127</max></string></returntype> </method> </docgroup> <docgroup homogen-name='crypt_php' homogen-type='method'><doc><text><p>Password hashing PHP Portable Hash-style.</p> </text><group><param name='password'/><text><p>Password to hash.</p>
-
</text></group><group><param name='salt'/><text><p>7 bit string of length 9. The first character
encodes
the
-
exponent for the number of rounds.</p>
+
</text></group><group><param name='salt'/><text><p>7 bit string of length
8 or
9. The first character
may
encode
+
the
exponent for the number of rounds
if <ref resolved='predef::__builtin
.
Nettle.Hash.crypt_php.rounds'>rounds
</
ref> is <expr>0</expr>.</
p>
+
</text></group><group><param name='rounds'/><text><p>Number of rounds. Defaults to taking the value from the <ref resolved='predef::__builtin.Nettle.Hash.crypt_php.salt'>salt</ref>
+
if the <ref resolved='predef::__builtin.Nettle.Hash.crypt_php.salt'>salt</ref> has length <expr>9</expr>, otherwise defaults to
+
<expr>1<<19</expr>.</p>
<p> This algorithm used with <ref resolved='predef::Crypto.MD5'>Crypto.MD5</ref> is the one used for PHP Portable Hashes (aka <expr>"$P$"</expr> and <expr>"$H$"</expr>).</p> <p> Used with <ref resolved='predef::Crypto.SHA1'>Crypto.SHA1</ref> it should be compatible with hashes from Escher CMS (aka <expr>"$Q$"</expr>).</p>
-
<p> Used with <ref resolved='predef::Crypto.
SHA256
'>Crypto.
SHA256
</ref> it should be compatible with
+
<p> Used with <ref resolved='predef::Crypto.
SHA512
'>Crypto.
SHA512
</ref> it should be compatible with
hashes from Drupal (aka <expr>"$S$"</expr>).</p> </text></group><group><seealso/><text><p><ref resolved='predef::__builtin.Nettle.Hash.crypt_hash'>crypt_hash(</ref>], <ref resolved='predef::Crypto.Password'>Crypto.Password</ref></p> </text></group></doc> <method name='crypt_php'>
-
<arguments><argument name='password'><type><string><min>0</min><max>255</max></string></type></argument><argument name='salt'><type><string><min>0</min><max>127</max></string></type></argument></arguments>
+
<arguments><argument name='password'><type><string><min>0</min><max>255</max></string></type></argument><argument name='salt'><type><string><min>0</min><max>127</max></string></type></argument><
argument name='rounds'><type><or><int><min>0<
/
min><max/></int><void/></or></type></argument></
arguments>
<returntype><string><min>0</min><max>127</max></string></returntype> </method> </docgroup> <docgroup homogen-name='eme_oaep_decode' homogen-type='method'><doc><text><p>Decode an EME-OAEP encoded string.</p> </text><group><param name='message'/><text><p>Message to decode.</p> </text></group><group><param name='label'/><text><p>Label that was used when the message was encoded. Defaults to <expr>""</expr>.</p> </text></group><group><param name='mgf'/><text><p>Mask generation function to use. Defaults to <ref resolved='predef::__builtin.Nettle.Hash.mgf1'>mgf1()</ref>.</p> </text></group><group><returns/><text><p>Returns the decoded message on success, and <expr>0</expr> (zero) on failure.</p>