autodoc.git
/
traditional_manual
/
chapter_21.html
version
»
Context lines:
10
20
40
80
file
none
3
autodoc.git/traditional_manual/chapter_21.html:27458:
padding is performed and no_linebreaks defaults to true.</p> </dd> <dt class='head--doc'>See also</dt> <dd class='body--doc'><p><code>MIME.encode_base64</code></p> </dd></dl> <hr /> <dl class='group--doc'> <dt class='head--type'><span class='homogen--type'>Method</span>
+
<span class='homogen--name'><b>encode_crypt64</b></span>
+
</dt>
+
<dd><p><code><code class='datatype'>string</code> <b><span class='method'>encode_crypt64</span>(</b><code class='datatype'>string(8bit)</code> <code class='argument'>data</code><b>)</b></code></p></dd>
+
+
<dt class='head--doc'>Description</dt>
+
<dd class='body--doc'><p>This function encodes data using the <tt>crypt64</tt> encoding.</p>
+
<p> This is an ad hoc encoding similar to <tt>base64</tt> that several
+
password hashing algorithms use for entries in the password database.</p>
+
</dd>
+
<dt class='head--doc'>Note</dt>
+
<dd class='body--doc'><p>This is NOT a MIME-compliant encoding, and MUST NOT
+
be used as such.</p>
+
</dd>
+
<dt class='head--doc'>See also</dt>
+
<dd class='body--doc'><p><code>MIME.decode_crypt64()</code></p>
+
</dd></dl>
+
+
+
<hr />
+
<dl class='group--doc'>
+
<dt class='head--type'><span class='homogen--type'>Method</span>
<span class='homogen--name'><b>encode_qp</b></span> </dt> <dd><p><code><code class='datatype'>string</code> <b><span class='method'>encode_qp</span>(</b><code class='datatype'>string</code> <code class='argument'>data</code>, <code class='datatype'>void</code>|<code class='datatype'>int</code> <code class='argument'>no_linebreaks</code><b>)</b></code></p></dd> <dt class='head--doc'>Description</dt> <dd class='body--doc'><p>This function encodes data using the <tt>quoted-printable</tt> (a.k.a. quoted-unreadable) transfer encoding.</p> <p> If a nonzero value is passed as <code>no_linebreaks</code>, the result string will not contain any linebreaks.</p> </dd>