LDAPAccountManager/lam-web/developers/phpdoc/modules/smbHash.html

764 lines
30 KiB
HTML
Raw Normal View History

2006-11-15 17:12:15 +00:00
<html>
<head>
<title>Docs For Class smbHash</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
<tr>
<td class="header_top">modules</td>
</tr>
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
<tr>
<td class="header_menu">
2007-11-04 11:19:11 +00:00
[ <a href="../classtrees_modules.html" class="menu">class tree: modules</a> ]
2006-11-15 17:12:15 +00:00
[ <a href="../elementindex_modules.html" class="menu">index: modules</a> ]
2007-11-04 11:19:11 +00:00
[ <a href="../elementindex.html" class="menu">all elements</a> ]
2006-11-15 17:12:15 +00:00
</td>
</tr>
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="200" class="menu">
<div id="ric">
2007-11-04 11:19:11 +00:00
<p><a href="../ric_README.html">README</a></p>
2008-01-06 18:15:35 +00:00
<p><a href="../ric_INSTALL.html">INSTALL</a></p>
2006-11-15 17:12:15 +00:00
</div>
<b>Packages:</b><br />
<a href="../li_configuration.html">configuration</a><br />
<a href="../li_Help.html">Help</a><br />
<a href="../li_LDAP.html">LDAP</a><br />
<a href="../li_lib.html">lib</a><br />
<a href="../li_lists.html">lists</a><br />
<a href="../li_main.html">main</a><br />
<a href="../li_modules.html">modules</a><br />
<a href="../li_PDF.html">PDF</a><br />
<a href="../li_profiles.html">profiles</a><br />
<a href="../li_selfService.html">selfService</a><br />
<a href="../li_tests.html">tests</a><br />
<a href="../li_tools.html">tools</a><br />
<a href="../li_types.html">types</a><br />
<br /><br />
<b>Files:</b><br />
<div class="package">
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---account.inc.html"> account.inc
</a><br>
<a href="../modules/_lib---baseModule.inc.html"> baseModule.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---createntlm.inc.html"> createntlm.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_templates---account---edit.php.html"> edit.php
2008-01-06 18:15:35 +00:00
</a><br>
<a href="../modules/_lib---modules---groupOfNames.inc.html"> groupOfNames.inc
</a><br>
<a href="../modules/_lib---modules---groupOfUniqueNames.inc.html"> groupOfUniqueNames.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---ieee802device.inc.html"> ieee802device.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---inetLocalMailRecipient.inc.html"> inetLocalMailRecipient.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---inetOrgPerson.inc.html"> inetOrgPerson.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---kolabUser.inc.html"> kolabUser.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---lamdaemon.inc.html"> lamdaemon.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---ldapPublicKey.inc.html"> ldapPublicKey.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules.inc.html"> modules.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---nisMailAlias.inc.html"> nisMailAlias.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---posixAccount.inc.html"> posixAccount.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---posixGroup.inc.html"> posixGroup.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---quota.inc.html"> quota.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---sambaAccount.inc.html"> sambaAccount.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---sambaDomain.inc.html"> sambaDomain.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---sambaGroupMapping.inc.html"> sambaGroupMapping.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---sambaSamAccount---sambaMungedDial.inc.html"> sambaMungedDial.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---sambaSamAccount.inc.html"> sambaSamAccount.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---shadowAccount.inc.html"> shadowAccount.inc
2006-11-15 17:12:15 +00:00
</a><br>
</div><br />
2007-11-04 11:19:11 +00:00
2006-11-15 17:12:15 +00:00
<b>Classes:</b><br />
<div class="package">
<a href="../modules/account.html">account</a><br />
<a href="../modules/accountContainer.html">accountContainer</a><br />
<a href="../modules/baseModule.html">baseModule</a><br />
2008-01-06 18:15:35 +00:00
<a href="../modules/groupOfNames.html">groupOfNames</a><br />
<a href="../modules/groupOfUniqueNames.html">groupOfUniqueNames</a><br />
2006-11-15 17:12:15 +00:00
<a href="../modules/ieee802Device.html">ieee802Device</a><br />
<a href="../modules/inetLocalMailRecipient.html">inetLocalMailRecipient</a><br />
<a href="../modules/inetOrgPerson.html">inetOrgPerson</a><br />
<a href="../modules/kolabUser.html">kolabUser</a><br />
<a href="../modules/ldapPublicKey.html">ldapPublicKey</a><br />
<a href="../modules/nisMailAlias.html">nisMailAlias</a><br />
<a href="../modules/posixAccount.html">posixAccount</a><br />
<a href="../modules/posixGroup.html">posixGroup</a><br />
<a href="../modules/quota.html">quota</a><br />
<a href="../modules/samba3domain.html">samba3domain</a><br />
<a href="../modules/sambaAccount.html">sambaAccount</a><br />
<a href="../modules/sambaDomain.html">sambaDomain</a><br />
<a href="../modules/sambaGroupMapping.html">sambaGroupMapping</a><br />
2007-11-04 11:19:11 +00:00
<a href="../modules/sambaMungedDial.html">sambaMungedDial</a><br />
2006-11-15 17:12:15 +00:00
<a href="../modules/sambaSamAccount.html">sambaSamAccount</a><br />
<a href="../modules/shadowAccount.html">shadowAccount</a><br />
<a href="../modules/smbHash.html">smbHash</a><br />
</div>
2007-11-04 11:19:11 +00:00
2006-11-15 17:12:15 +00:00
</td>
<td>
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
<h1>Class: smbHash</h1>
Source Location: /lib/createntlm.inc<br /><br />
<table width="100%" border="0">
<tr><td valign="top">
<h3><a href="#class_details">Class Overview</a></h3>
<pre></pre><br />
<div class="description">Calculates NT and LM hashes.</div><br /><br />
</td>
<td valign="top">
<h3><a href="#class_vars">Variables</a></h3>
<ul>
<li><a href="../modules/smbHash.html#var$perm1">$perm1</a></li>
<li><a href="../modules/smbHash.html#var$perm2">$perm2</a></li>
<li><a href="../modules/smbHash.html#var$perm3">$perm3</a></li>
<li><a href="../modules/smbHash.html#var$perm4">$perm4</a></li>
<li><a href="../modules/smbHash.html#var$perm5">$perm5</a></li>
<li><a href="../modules/smbHash.html#var$perm6">$perm6</a></li>
<li><a href="../modules/smbHash.html#var$sbox">$sbox</a></li>
<li><a href="../modules/smbHash.html#var$sc">$sc</a></li>
</ul>
</td>
<td valign="top">
<h3><a href="#class_methods">Methods</a></h3>
<ul>
<li><a href="../modules/smbHash.html#methoddoHash">doHash</a></li>
<li><a href="../modules/smbHash.html#methodE_P16">E_P16</a></li>
<li><a href="../modules/smbHash.html#methodlmhash">lmhash</a></li>
<li><a href="../modules/smbHash.html#methodlshift">lshift</a></li>
<li><a href="../modules/smbHash.html#methodmxor">mxor</a></li>
<li><a href="../modules/smbHash.html#methodnthash">nthash</a></li>
<li><a href="../modules/smbHash.html#methodpermute">permute</a></li>
<li><a href="../modules/smbHash.html#methodsmb_hash">smb_hash</a></li>
<li><a href="../modules/smbHash.html#methodstr_to_key">str_to_key</a></li>
<li><a href="../modules/smbHash.html#methodunsigned_shift_r">unsigned_shift_r</a></li>
<li><a href="../modules/smbHash.html#methodx">x</a></li>
</ul>
</td>
</tr></table>
<hr />
<table width="100%" border="0"><tr>
</tr></table>
<hr />
<a name="class_details"></a>
<h3>Class Details</h3>
<div class="tags">
[line 41]<br />
Calculates NT and LM hashes.<br /><br /><p>The important functions are lmhash($password) and nthash($password).</p><br /></div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />
<hr />
<a name="class_vars"></a>
<h3>Class Variables</h3>
<div class="tags">
<a name="var$perm1"></a>
<p></p>
<h4>$perm1 = <span class="value">array(57,&nbsp;49,&nbsp;41,&nbsp;33,&nbsp;25,&nbsp;17,&nbsp;&nbsp;9,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1,&nbsp;58,&nbsp;50,&nbsp;42,&nbsp;34,&nbsp;26,&nbsp;18,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;10,&nbsp;&nbsp;2,&nbsp;59,&nbsp;51,&nbsp;43,&nbsp;35,&nbsp;27,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;19,&nbsp;11,&nbsp;&nbsp;3,&nbsp;60,&nbsp;52,&nbsp;44,&nbsp;36,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;63,&nbsp;55,&nbsp;47,&nbsp;39,&nbsp;31,&nbsp;23,&nbsp;15,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7,&nbsp;62,&nbsp;54,&nbsp;46,&nbsp;38,&nbsp;30,&nbsp;22,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;14,&nbsp;&nbsp;6,&nbsp;61,&nbsp;53,&nbsp;45,&nbsp;37,&nbsp;29,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;21,&nbsp;13,&nbsp;&nbsp;5,&nbsp;28,&nbsp;20,&nbsp;12,&nbsp;&nbsp;4)</span></h4>
<p>[line 45]</p>
<br />
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>Type:</b>&nbsp;&nbsp;</td>
<td>mixed</td>
</tr>
</table>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />
<a name="var$perm2"></a>
<p></p>
<h4>$perm2 = <span class="value">array(14,&nbsp;17,&nbsp;11,&nbsp;24,&nbsp;&nbsp;1,&nbsp;&nbsp;5,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3,&nbsp;28,&nbsp;15,&nbsp;&nbsp;6,&nbsp;21,&nbsp;10,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;23,&nbsp;19,&nbsp;12,&nbsp;&nbsp;4,&nbsp;26,&nbsp;&nbsp;8,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;16,&nbsp;&nbsp;7,&nbsp;27,&nbsp;20,&nbsp;13,&nbsp;&nbsp;2,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;41,&nbsp;52,&nbsp;31,&nbsp;37,&nbsp;47,&nbsp;55,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;30,&nbsp;40,&nbsp;51,&nbsp;45,&nbsp;33,&nbsp;48,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;44,&nbsp;49,&nbsp;39,&nbsp;56,&nbsp;34,&nbsp;53,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;46,&nbsp;42,&nbsp;50,&nbsp;36,&nbsp;29,&nbsp;32)</span></h4>
<p>[line 54]</p>
<br />
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>Type:</b>&nbsp;&nbsp;</td>
<td>mixed</td>
</tr>
</table>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />
<a name="var$perm3"></a>
<p></p>
<h4>$perm3 = <span class="value">array(58,&nbsp;50,&nbsp;42,&nbsp;34,&nbsp;26,&nbsp;18,&nbsp;10,&nbsp;&nbsp;2,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;60,&nbsp;52,&nbsp;44,&nbsp;36,&nbsp;28,&nbsp;20,&nbsp;12,&nbsp;&nbsp;4,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;62,&nbsp;54,&nbsp;46,&nbsp;38,&nbsp;30,&nbsp;22,&nbsp;14,&nbsp;&nbsp;6,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;64,&nbsp;56,&nbsp;48,&nbsp;40,&nbsp;32,&nbsp;24,&nbsp;16,&nbsp;&nbsp;8,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;57,&nbsp;49,&nbsp;41,&nbsp;33,&nbsp;25,&nbsp;17,&nbsp;&nbsp;9,&nbsp;&nbsp;1,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;59,&nbsp;51,&nbsp;43,&nbsp;35,&nbsp;27,&nbsp;19,&nbsp;11,&nbsp;&nbsp;3,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;61,&nbsp;53,&nbsp;45,&nbsp;37,&nbsp;29,&nbsp;21,&nbsp;13,&nbsp;&nbsp;5,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;63,&nbsp;55,&nbsp;47,&nbsp;39,&nbsp;31,&nbsp;23,&nbsp;15,&nbsp;&nbsp;7)</span></h4>
<p>[line 63]</p>
<br />
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>Type:</b>&nbsp;&nbsp;</td>
<td>mixed</td>
</tr>
</table>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />
<a name="var$perm4"></a>
<p></p>
<h4>$perm4 = <span class="value">array(32,&nbsp;&nbsp;1,&nbsp;&nbsp;2,&nbsp;&nbsp;3,&nbsp;&nbsp;4,&nbsp;&nbsp;5,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4,&nbsp;&nbsp;5,&nbsp;&nbsp;6,&nbsp;&nbsp;7,&nbsp;&nbsp;8,&nbsp;&nbsp;9,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8,&nbsp;&nbsp;9,&nbsp;10,&nbsp;11,&nbsp;12,&nbsp;13,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;12,&nbsp;13,&nbsp;14,&nbsp;15,&nbsp;16,&nbsp;17,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;16,&nbsp;17,&nbsp;18,&nbsp;19,&nbsp;20,&nbsp;21,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;20,&nbsp;21,&nbsp;22,&nbsp;23,&nbsp;24,&nbsp;25,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;24,&nbsp;25,&nbsp;26,&nbsp;27,&nbsp;28,&nbsp;29,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;28,&nbsp;29,&nbsp;30,&nbsp;31,&nbsp;32,&nbsp;&nbsp;1)</span></h4>
<p>[line 72]</p>
<br />
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>Type:</b>&nbsp;&nbsp;</td>
<td>mixed</td>
</tr>
</table>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />
<a name="var$perm5"></a>
<p></p>
<h4>$perm5 = <span class="value">array(16,&nbsp;&nbsp;7,&nbsp;20,&nbsp;21,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;29,&nbsp;12,&nbsp;28,&nbsp;17,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1,&nbsp;15,&nbsp;23,&nbsp;26,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5,&nbsp;18,&nbsp;31,&nbsp;10,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2,&nbsp;&nbsp;8,&nbsp;24,&nbsp;14,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;32,&nbsp;27,&nbsp;&nbsp;3,&nbsp;&nbsp;9,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;19,&nbsp;13,&nbsp;30,&nbsp;&nbsp;6,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;22,&nbsp;11,&nbsp;&nbsp;4,&nbsp;25)</span></h4>
<p>[line 81]</p>
<br />
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>Type:</b>&nbsp;&nbsp;</td>
<td>mixed</td>
</tr>
</table>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />
<a name="var$perm6"></a>
<p></p>
<h4>$perm6 = <span class="value">array(40,&nbsp;&nbsp;8,&nbsp;48,&nbsp;16,&nbsp;56,&nbsp;24,&nbsp;64,&nbsp;32,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;39,&nbsp;&nbsp;7,&nbsp;47,&nbsp;15,&nbsp;55,&nbsp;23,&nbsp;63,&nbsp;31,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;38,&nbsp;&nbsp;6,&nbsp;46,&nbsp;14,&nbsp;54,&nbsp;22,&nbsp;62,&nbsp;30,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;37,&nbsp;&nbsp;5,&nbsp;45,&nbsp;13,&nbsp;53,&nbsp;21,&nbsp;61,&nbsp;29,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;36,&nbsp;&nbsp;4,&nbsp;44,&nbsp;12,&nbsp;52,&nbsp;20,&nbsp;60,&nbsp;28,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;35,&nbsp;&nbsp;3,&nbsp;43,&nbsp;11,&nbsp;51,&nbsp;19,&nbsp;59,&nbsp;27,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;34,&nbsp;&nbsp;2,&nbsp;42,&nbsp;10,&nbsp;50,&nbsp;18,&nbsp;58,&nbsp;26,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;33,&nbsp;&nbsp;1,&nbsp;41,&nbsp;&nbsp;9,&nbsp;49,&nbsp;17,&nbsp;57,&nbsp;25)</span></h4>
<p>[line 90]</p>
<br />
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>Type:</b>&nbsp;&nbsp;</td>
<td>mixed</td>
</tr>
</table>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />
<a name="var$sbox"></a>
<p></p>
<h4>$sbox = <span class="value">array(array(array(14,&nbsp;&nbsp;4,&nbsp;13,&nbsp;&nbsp;1,&nbsp;&nbsp;2,&nbsp;15,&nbsp;11,&nbsp;&nbsp;8,&nbsp;&nbsp;3,&nbsp;10,&nbsp;&nbsp;6,&nbsp;12,&nbsp;&nbsp;5,&nbsp;&nbsp;9,&nbsp;&nbsp;0,&nbsp;&nbsp;7),array(0,15,7,4,14,2,13,1,10,6,12,11,9,5,3,8),array(4,1,14,8,13,6,2,11,15,12,9,7,3,10,5,0),array(15,12,8,2,4,9,1,7,5,11,3,14,10,0,6,13)),array(array(15,1,8,14,6,11,3,4,9,7,2,13,12,0,5,10),array(3,13,4,7,15,2,8,14,12,0,1,10,6,9,11,5),array(0,14,7,11,10,4,13,1,5,8,12,6,9,3,2,15),array(13,8,10,1,3,15,4,2,11,6,7,12,0,5,14,9)),array(array(10,0,9,14,6,3,15,5,1,13,12,7,11,4,2,8),array(13,7,0,9,3,4,6,10,2,8,5,14,12,11,15,1),array(13,6,4,9,8,15,3,0,11,1,2,12,5,10,14,7),array(1,10,13,0,6,9,8,7,4,15,14,3,11,5,2,12)),array(array(7,13,14,3,0,6,9,10,1,2,8,5,11,12,4,15),array(13,8,11,5,6,15,0,3,4,7,2,12,1,10,14,9),array(10,6,9,0,12,11,7,13,15,1,3,14,5,2,8,4),array(3,15,0,6,10,1,13,8,9,4,5,11,12,7,2,14)),array(array(2,12,4,1,7,10,11,6,8,5,3,15,13,0,14,9),array(14,11,2,12,4,7,13,1,5,0,15,10,3,9,8,6),array(4,2,1,11,10,13,7,8,15,9,12,5,6,3,0,14),array(11,8,12,7,1,14,2,13,6,15,0,9,10,4,5,3)),array(array(12,1,10,15,9,2,6,8,0,13,3,4,14,7,5,11),array(10,15,4,2,7,12,9,5,6,1,13,14,0,11,3,8),array(9,14,15,5,2,8,12,3,7,0,4,10,1,13,11,6),array(4,3,2,12,9,5,15,10,11,14,1,7,6,0,8,13)),array(array(4,11,2,14,15,0,8,13,3,12,9,7,5,10,6,1),array(13,0,11,7,4,9,1,10,14,3,5,12,2,15,8,6),array(1,4,11,13,12,3,7,14,10,15,6,8,0,5,9,2),array(6,11,13,8,1,4,10,7,9,5,0,15,14,2,3,12)),array(array(13,2,8,4,6,15,11,1,10,9,3,14,5,0,12,7),array(1,15,13,8,10,3,7,4,12,5,6,11,0,14,9,2),array(7,11,4,1,9,12,14,2,0,6,10,13,15,3,5,8),array(2,1,14,7,4,10,8,13,15,12,9,0,3,5,6,11)))</span></h4>
<p>[line 103]</p>
<br />
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>Type:</b>&nbsp;&nbsp;</td>
<td>mixed</td>
</tr>
</table>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />
<a name="var$sc"></a>
<p></p>
<h4>$sc = <span class="value">array(1,&nbsp;1,&nbsp;2,&nbsp;2,&nbsp;2,&nbsp;2,&nbsp;2,&nbsp;2,&nbsp;1,&nbsp;2,&nbsp;2,&nbsp;2,&nbsp;2,&nbsp;2,&nbsp;2,&nbsp;1)</span></h4>
<p>[line 99]</p>
<br />
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>Type:</b>&nbsp;&nbsp;</td>
<td>mixed</td>
</tr>
</table>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />
</div><br />
<hr />
<a name="class_methods"></a>
<h3>Class Methods</h3>
<div class="tags">
<hr />
<a name="methoddoHash"></a>
<h3>method doHash <span class="smalllinenumber">[line 189]</span></h3>
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>array doHash(
array
$in, array
$key, boolean
$forw)</code>
</td></tr></table>
</td></tr></table><br />
<br /><br />
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">array&nbsp;&nbsp;</td>
<td><b>$in</b>&nbsp;&nbsp;</td>
<td></td>
</tr>
<tr>
<td class="type">array&nbsp;&nbsp;</td>
<td><b>$key</b>&nbsp;&nbsp;</td>
<td></td>
</tr>
<tr>
<td class="type">boolean&nbsp;&nbsp;</td>
<td><b>$forw</b>&nbsp;&nbsp;</td>
<td></td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodE_P16"></a>
2007-11-04 11:19:11 +00:00
<h3>method E_P16 <span class="smalllinenumber">[line 310]</span></h3>
2006-11-15 17:12:15 +00:00
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
2007-11-04 11:19:11 +00:00
<code>unknown E_P16(
unknown_type
2006-11-15 17:12:15 +00:00
$in)</code>
</td></tr></table>
</td></tr></table><br />
2007-11-04 11:19:11 +00:00
E_P16<br /><br /><br /><br />
2006-11-15 17:12:15 +00:00
2007-11-04 11:19:11 +00:00
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">unknown_type&nbsp;&nbsp;</td>
<td><b>$in</b>&nbsp;&nbsp;</td>
<td></td>
</tr>
</table>
</div><br />
2006-11-15 17:12:15 +00:00
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodlmhash"></a>
2007-11-04 11:19:11 +00:00
<h3>method lmhash <span class="smalllinenumber">[line 334]</span></h3>
2006-11-15 17:12:15 +00:00
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>string lmhash(
[string
2007-11-04 11:19:11 +00:00
$password = &quot;&quot;])</code>
2006-11-15 17:12:15 +00:00
</td></tr></table>
</td></tr></table><br />
Calculates the LM hash of a given password.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>hash value</td>
</tr>
</table>
</div>
<br /><br />
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">string&nbsp;&nbsp;</td>
<td><b>$password</b>&nbsp;&nbsp;</td>
<td>password</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodlshift"></a>
<h3>method lshift <span class="smalllinenumber">[line 149]</span></h3>
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>array lshift(
integer
$count, array
$data)</code>
</td></tr></table>
</td></tr></table><br />
<br /><br />
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">array&nbsp;&nbsp;</td>
<td><b>$data</b>&nbsp;&nbsp;</td>
<td></td>
</tr>
<tr>
<td class="type">integer&nbsp;&nbsp;</td>
<td><b>$count</b>&nbsp;&nbsp;</td>
<td>count</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodmxor"></a>
<h3>method mxor <span class="smalllinenumber">[line 175]</span></h3>
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>array mxor(
array
$in1, array
$in2)</code>
</td></tr></table>
</td></tr></table><br />
<br /><br />
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">array&nbsp;&nbsp;</td>
<td><b>$in1</b>&nbsp;&nbsp;</td>
<td></td>
</tr>
<tr>
<td class="type">array&nbsp;&nbsp;</td>
<td><b>$in2</b>&nbsp;&nbsp;</td>
<td></td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodnthash"></a>
2007-11-04 11:19:11 +00:00
<h3>method nthash <span class="smalllinenumber">[line 351]</span></h3>
2006-11-15 17:12:15 +00:00
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>string nthash(
[string
2007-11-04 11:19:11 +00:00
$password = &quot;&quot;])</code>
2006-11-15 17:12:15 +00:00
</td></tr></table>
</td></tr></table><br />
Calculates the NT hash of a given password.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>hash value</td>
</tr>
</table>
</div>
<br /><br />
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">string&nbsp;&nbsp;</td>
<td><b>$password</b>&nbsp;&nbsp;</td>
<td>password</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodpermute"></a>
<h3>method permute <span class="smalllinenumber">[line 162]</span></h3>
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>array permute(
array
$in, array
2007-11-04 11:19:11 +00:00
$p,
2006-11-15 17:12:15 +00:00
$n)</code>
</td></tr></table>
</td></tr></table><br />
<br /><br />
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">array&nbsp;&nbsp;</td>
<td><b>$in</b>&nbsp;&nbsp;</td>
<td>in input data</td>
</tr>
<tr>
<td class="type">array&nbsp;&nbsp;</td>
<td><b>$p</b>&nbsp;&nbsp;</td>
<td>p permutation</td>
2007-11-04 11:19:11 +00:00
</tr>
<tr>
<td class="type">&nbsp;&nbsp;</td>
<td><b>$n</b>&nbsp;&nbsp;</td>
<td></td>
2006-11-15 17:12:15 +00:00
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodsmb_hash"></a>
2007-11-04 11:19:11 +00:00
<h3>method smb_hash <span class="smalllinenumber">[line 284]</span></h3>
2006-11-15 17:12:15 +00:00
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
2007-11-04 11:19:11 +00:00
<code>unknown smb_hash(
unknown_type
$in, unknown_type
$key, unknown_type
2006-11-15 17:12:15 +00:00
$forw)</code>
</td></tr></table>
</td></tr></table><br />
2007-11-04 11:19:11 +00:00
smb_hash<br /><br /><br /><br />
2006-11-15 17:12:15 +00:00
2007-11-04 11:19:11 +00:00
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">unknown_type&nbsp;&nbsp;</td>
<td><b>$in</b>&nbsp;&nbsp;</td>
<td></td>
</tr>
<tr>
<td class="type">unknown_type&nbsp;&nbsp;</td>
<td><b>$key</b>&nbsp;&nbsp;</td>
<td></td>
</tr>
<tr>
<td class="type">unknown_type&nbsp;&nbsp;</td>
<td><b>$forw</b>&nbsp;&nbsp;</td>
<td></td>
</tr>
</table>
</div><br />
2006-11-15 17:12:15 +00:00
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodstr_to_key"></a>
2007-11-04 11:19:11 +00:00
<h3>method str_to_key <span class="smalllinenumber">[line 261]</span></h3>
2006-11-15 17:12:15 +00:00
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
2007-11-04 11:19:11 +00:00
<code>string str_to_key(
string
2006-11-15 17:12:15 +00:00
$str)</code>
</td></tr></table>
</td></tr></table><br />
2007-11-04 11:19:11 +00:00
str_to_key<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>key</td>
</tr>
</table>
</div>
<br /><br />
2006-11-15 17:12:15 +00:00
2007-11-04 11:19:11 +00:00
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">string&nbsp;&nbsp;</td>
<td><b>$str</b>&nbsp;&nbsp;</td>
<td></td>
</tr>
</table>
</div><br />
2006-11-15 17:12:15 +00:00
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodunsigned_shift_r"></a>
2007-11-04 11:19:11 +00:00
<h3>method unsigned_shift_r <span class="smalllinenumber">[line 360]</span></h3>
2006-11-15 17:12:15 +00:00
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>void unsigned_shift_r(
2007-11-04 11:19:11 +00:00
$a,
2006-11-15 17:12:15 +00:00
$b)</code>
</td></tr></table>
</td></tr></table><br />
Unsigned shift operation for 32bit values.<br /><br /><p>PHP 4 only supports signed shifts by default.</p><br /><br /><br />
2007-11-04 11:19:11 +00:00
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">&nbsp;&nbsp;</td>
<td><b>$a</b>&nbsp;&nbsp;</td>
<td></td>
</tr>
<tr>
<td class="type">&nbsp;&nbsp;</td>
<td><b>$b</b>&nbsp;&nbsp;</td>
<td></td>
</tr>
</table>
</div><br />
2006-11-15 17:12:15 +00:00
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodx"></a>
<h3>method x <span class="smalllinenumber">[line 139]</span></h3>
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>void x(
2007-11-04 11:19:11 +00:00
2006-11-15 17:12:15 +00:00
$i)</code>
</td></tr></table>
</td></tr></table><br />
Fixes too large numbers<br /><br /><br /><br />
2007-11-04 11:19:11 +00:00
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">&nbsp;&nbsp;</td>
<td><b>$i</b>&nbsp;&nbsp;</td>
<td></td>
</tr>
</table>
</div><br />
2006-11-15 17:12:15 +00:00
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
</div><br />
<div class="credit">
<hr />
2008-01-06 18:15:35 +00:00
Documentation generated on Sun, 06 Jan 2008 18:58:58 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a>
2006-11-15 17:12:15 +00:00
</div>
</td></tr></table>
</td>
</tr>
</table>
</body>
</html>