990 lines
		
	
	
		
			35 KiB
		
	
	
	
		
			HTML
		
	
	
	
			
		
		
	
	
			990 lines
		
	
	
		
			35 KiB
		
	
	
	
		
			HTML
		
	
	
	
| <html>
 | |
| <head>
 | |
| <title>Docs For Class smbHash</title>
 | |
| <link rel="stylesheet" type="text/css" href="../media/style.css">
 | |
| </head>
 | |
| <body>
 | |
| 
 | |
| <p align="center">
 | |
| <script type="text/javascript"><!--
 | |
| google_ad_client = "pub-4179059556107138";
 | |
| google_alternate_ad_url = "http://lam.sourceforge.net/google_adsense_script.html";
 | |
| google_ad_width = 728;
 | |
| google_ad_height = 90;
 | |
| google_ad_format = "728x90_as";
 | |
| google_ad_type = "text_image";
 | |
| google_ad_channel ="";
 | |
| google_page_url = document.location;
 | |
| google_color_border = "EEEEEE";
 | |
| google_color_bg = "FFFFFF";
 | |
| google_color_link = "0000FF";
 | |
| google_color_url = "008000";
 | |
| google_color_text = "000000";
 | |
| //--></script>
 | |
| <script type="text/javascript"
 | |
|   src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
 | |
| </script>
 | |
| </p>
 | |
| 
 | |
| 
 | |
| 
 | |
| <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">
 | |
|   		  [ <a href="../classtrees_modules.html" class="menu">class tree: modules</a> ]
 | |
| 		  [ <a href="../elementindex_modules.html" class="menu">index: modules</a> ]
 | |
| 		  [ <a href="../elementindex.html" class="menu">all elements</a> ]
 | |
|     </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">
 | |
| 					<p><a href="../ric_README.html">README</a></p>
 | |
| 					<p><a href="../ric_INSTALL.html">INSTALL</a></p>
 | |
| 			</div>
 | |
| 	<div id="todolist">
 | |
| 			<p><a href="../todolist.html">Todo List</a></p>
 | |
| 	</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_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">
 | |
| 			<a href="../modules/_lib_modules_account_inc.html">		account.inc
 | |
| 		</a><br>
 | |
| 			<a href="../modules/_lib_baseModule_inc.html">		baseModule.inc
 | |
| 		</a><br>
 | |
| 			<a href="../modules/_lib_createntlm_inc.html">		createntlm.inc
 | |
| 		</a><br>
 | |
| 			<a href="../modules/_templates_account_edit_php.html">		edit.php
 | |
| 		</a><br>
 | |
| 			<a href="../modules/_lib_modules_ieee802device_inc.html">		ieee802device.inc
 | |
| 		</a><br>
 | |
| 			<a href="../modules/_lib_modules_inetLocalMailRecipient_inc.html">		inetLocalMailRecipient.inc
 | |
| 		</a><br>
 | |
| 			<a href="../modules/_lib_modules_inetOrgPerson_inc.html">		inetOrgPerson.inc
 | |
| 		</a><br>
 | |
| 			<a href="../modules/_lib_modules_kolabUser_inc.html">		kolabUser.inc
 | |
| 		</a><br>
 | |
| 			<a href="../modules/_lib_lamdaemon_inc.html">		lamdaemon.inc
 | |
| 		</a><br>
 | |
| 			<a href="../modules/_lib_modules_ldapPublicKey_inc.html">		ldapPublicKey.inc
 | |
| 		</a><br>
 | |
| 			<a href="../modules/_lib_modules_inc.html">		modules.inc
 | |
| 		</a><br>
 | |
| 			<a href="../modules/_lib_modules_nisMailAlias_inc.html">		nisMailAlias.inc
 | |
| 		</a><br>
 | |
| 			<a href="../modules/_lib_modules_posixAccount_inc.html">		posixAccount.inc
 | |
| 		</a><br>
 | |
| 			<a href="../modules/_lib_modules_posixGroup_inc.html">		posixGroup.inc
 | |
| 		</a><br>
 | |
| 			<a href="../modules/_lib_modules_quota_inc.html">		quota.inc
 | |
| 		</a><br>
 | |
| 			<a href="../modules/_lib_modules_sambaAccount_inc.html">		sambaAccount.inc
 | |
| 		</a><br>
 | |
| 			<a href="../modules/_lib_modules_sambaDomain_inc.html">		sambaDomain.inc
 | |
| 		</a><br>
 | |
| 			<a href="../modules/_lib_modules_sambaGroupMapping_inc.html">		sambaGroupMapping.inc
 | |
| 		</a><br>
 | |
| 			<a href="../modules/_lib_modules_sambaSamAccount_inc.html">		sambaSamAccount.inc
 | |
| 		</a><br>
 | |
| 			<a href="../modules/_lib_modules_shadowAccount_inc.html">		shadowAccount.inc
 | |
| 		</a><br>
 | |
| 	  </div><br />
 | |
|       
 | |
|             <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 />
 | |
| 	    		<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 />
 | |
| 	    		<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>
 | |
|                 </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#methodadd32">add32</a></li>
 | |
|     <li><a href="../modules/smbHash.html#methodcopy4">copy4</a></li>
 | |
|     <li><a href="../modules/smbHash.html#methodcopy64">copy64</a></li>
 | |
|     <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#methodF">F</a></li>
 | |
|     <li><a href="../modules/smbHash.html#methodG">G</a></li>
 | |
|     <li><a href="../modules/smbHash.html#methodH">H</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#methodmd4lshift">md4lshift</a></li>
 | |
|     <li><a href="../modules/smbHash.html#methodmdfour">mdfour</a></li>
 | |
|     <li><a href="../modules/smbHash.html#methodmdfour64">mdfour64</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#methodROUND1">ROUND1</a></li>
 | |
|     <li><a href="../modules/smbHash.html#methodROUND2">ROUND2</a></li>
 | |
|     <li><a href="../modules/smbHash.html#methodROUND3">ROUND3</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>
 | |
|   </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, 49, 41, 33, 25, 17,  9,<br>
 | |
|               1, 58, 50, 42, 34, 26, 18,<br>
 | |
|              10,  2, 59, 51, 43, 35, 27,<br>
 | |
|              19, 11,  3, 60, 52, 44, 36,<br>
 | |
|              63, 55, 47, 39, 31, 23, 15,<br>
 | |
|               7, 62, 54, 46, 38, 30, 22,<br>
 | |
|              14,  6, 61, 53, 45, 37, 29,<br>
 | |
|              21, 13,  5, 28, 20, 12,  4)</span></h4>
 | |
| 	<p>[line 45]</p>
 | |
|   
 | |
|   <br />
 | |
| 	<div class="tags">
 | |
|   <table border="0" cellspacing="0" cellpadding="0">
 | |
|     <tr>
 | |
|       <td><b>Type:</b>  </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, 17, 11, 24,  1,  5,<br>
 | |
|               3, 28, 15,  6, 21, 10,<br>
 | |
|              23, 19, 12,  4, 26,  8,<br>
 | |
|              16,  7, 27, 20, 13,  2,<br>
 | |
|              41, 52, 31, 37, 47, 55,<br>
 | |
|              30, 40, 51, 45, 33, 48,<br>
 | |
|              44, 49, 39, 56, 34, 53,<br>
 | |
|              46, 42, 50, 36, 29, 32)</span></h4>
 | |
| 	<p>[line 54]</p>
 | |
|   
 | |
|   <br />
 | |
| 	<div class="tags">
 | |
|   <table border="0" cellspacing="0" cellpadding="0">
 | |
|     <tr>
 | |
|       <td><b>Type:</b>  </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, 50, 42, 34, 26, 18, 10,  2,<br>
 | |
|              60, 52, 44, 36, 28, 20, 12,  4,<br>
 | |
|              62, 54, 46, 38, 30, 22, 14,  6,<br>
 | |
|              64, 56, 48, 40, 32, 24, 16,  8,<br>
 | |
|              57, 49, 41, 33, 25, 17,  9,  1,<br>
 | |
|              59, 51, 43, 35, 27, 19, 11,  3,<br>
 | |
|              61, 53, 45, 37, 29, 21, 13,  5,<br>
 | |
|              63, 55, 47, 39, 31, 23, 15,  7)</span></h4>
 | |
| 	<p>[line 63]</p>
 | |
|   
 | |
|   <br />
 | |
| 	<div class="tags">
 | |
|   <table border="0" cellspacing="0" cellpadding="0">
 | |
|     <tr>
 | |
|       <td><b>Type:</b>  </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,  1,  2,  3,  4,  5,<br>
 | |
|                  4,  5,  6,  7,  8,  9,<br>
 | |
|                  8,  9, 10, 11, 12, 13,<br>
 | |
|                 12, 13, 14, 15, 16, 17,<br>
 | |
|                 16, 17, 18, 19, 20, 21,<br>
 | |
|                 20, 21, 22, 23, 24, 25,<br>
 | |
|                 24, 25, 26, 27, 28, 29,<br>
 | |
|                 28, 29, 30, 31, 32,  1)</span></h4>
 | |
| 	<p>[line 72]</p>
 | |
|   
 | |
|   <br />
 | |
| 	<div class="tags">
 | |
|   <table border="0" cellspacing="0" cellpadding="0">
 | |
|     <tr>
 | |
|       <td><b>Type:</b>  </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,  7, 20, 21,<br>
 | |
|                    29, 12, 28, 17,<br>
 | |
|                     1, 15, 23, 26,<br>
 | |
|                     5, 18, 31, 10,<br>
 | |
|                     2,  8, 24, 14,<br>
 | |
|                    32, 27,  3,  9,<br>
 | |
|                    19, 13, 30,  6,<br>
 | |
|                    22, 11,  4, 25)</span></h4>
 | |
| 	<p>[line 81]</p>
 | |
|   
 | |
|   <br />
 | |
| 	<div class="tags">
 | |
|   <table border="0" cellspacing="0" cellpadding="0">
 | |
|     <tr>
 | |
|       <td><b>Type:</b>  </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,  8, 48, 16, 56, 24, 64, 32,<br>
 | |
|              39,  7, 47, 15, 55, 23, 63, 31,<br>
 | |
|              38,  6, 46, 14, 54, 22, 62, 30,<br>
 | |
|              37,  5, 45, 13, 53, 21, 61, 29,<br>
 | |
|              36,  4, 44, 12, 52, 20, 60, 28,<br>
 | |
|              35,  3, 43, 11, 51, 19, 59, 27,<br>
 | |
|              34,  2, 42, 10, 50, 18, 58, 26,<br>
 | |
|              33,  1, 41,  9, 49, 17, 57, 25)</span></h4>
 | |
| 	<p>[line 90]</p>
 | |
|   
 | |
|   <br />
 | |
| 	<div class="tags">
 | |
|   <table border="0" cellspacing="0" cellpadding="0">
 | |
|     <tr>
 | |
|       <td><b>Type:</b>  </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,  4, 13,  1,  2, 15, 11,  8,  3, 10,  6, 12,  5,  9,  0,  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>  </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, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1)</span></h4>
 | |
| 	<p>[line 99]</p>
 | |
|   
 | |
|   <br />
 | |
| 	<div class="tags">
 | |
|   <table border="0" cellspacing="0" cellpadding="0">
 | |
|     <tr>
 | |
|       <td><b>Type:</b>  </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="methodadd32"></a>
 | |
| 	<h3>method add32 <span class="smalllinenumber">[line 458]</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 add32(
 | |
| mixed
 | |
| $v)</code>
 | |
|     </td></tr></table>
 | |
|     </td></tr></table><br />
 | |
| 	
 | |
| 		<br /><br />
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|         <div class="top">[ <a href="#top">Top</a> ]</div>
 | |
|   </div>
 | |
|   <hr />
 | |
| 	<a name="methodcopy4"></a>
 | |
| 	<h3>method copy4 <span class="smalllinenumber">[line 400]</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 copy4(
 | |
| mixed
 | |
| $x)</code>
 | |
|     </td></tr></table>
 | |
|     </td></tr></table><br />
 | |
| 	
 | |
| 		<br /><br />
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|         <div class="top">[ <a href="#top">Top</a> ]</div>
 | |
|   </div>
 | |
|   <hr />
 | |
| 	<a name="methodcopy64"></a>
 | |
| 	<h3>method copy64 <span class="smalllinenumber">[line 410]</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 copy64(
 | |
| mixed
 | |
| $in)</code>
 | |
|     </td></tr></table>
 | |
|     </td></tr></table><br />
 | |
| 	
 | |
| 		<br /><br />
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|         <div class="top">[ <a href="#top">Top</a> ]</div>
 | |
|   </div>
 | |
|   <hr />
 | |
| 	<a name="methoddoHash"></a>
 | |
| 	<h3>method doHash <span class="smalllinenumber">[line 181]</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  </td>
 | |
|         <td><b>$in</b>  </td>
 | |
|         <td></td>
 | |
|       </tr>
 | |
|           <tr>
 | |
|         <td class="type">array  </td>
 | |
|         <td><b>$key</b>  </td>
 | |
|         <td></td>
 | |
|       </tr>
 | |
|           <tr>
 | |
|         <td class="type">boolean  </td>
 | |
|         <td><b>$forw</b>  </td>
 | |
|         <td></td>
 | |
|       </tr>
 | |
|         </table>
 | |
|     </div><br />
 | |
|         <div class="top">[ <a href="#top">Top</a> ]</div>
 | |
|   </div>
 | |
|   <hr />
 | |
| 	<a name="methodE_P16"></a>
 | |
| 	<h3>method E_P16 <span class="smalllinenumber">[line 282]</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 E_P16(
 | |
| mixed
 | |
| $in)</code>
 | |
|     </td></tr></table>
 | |
|     </td></tr></table><br />
 | |
| 	
 | |
| 		<br /><br />
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|         <div class="top">[ <a href="#top">Top</a> ]</div>
 | |
|   </div>
 | |
|   <hr />
 | |
| 	<a name="methodF"></a>
 | |
| 	<h3>method F <span class="smalllinenumber">[line 337]</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 F(
 | |
| mixed
 | |
| $X, mixed
 | |
| $Y, mixed
 | |
| $Z)</code>
 | |
|     </td></tr></table>
 | |
|     </td></tr></table><br />
 | |
| 	
 | |
| 		<br /><br />
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|         <div class="top">[ <a href="#top">Top</a> ]</div>
 | |
|   </div>
 | |
|   <hr />
 | |
| 	<a name="methodG"></a>
 | |
| 	<h3>method G <span class="smalllinenumber">[line 341]</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 G(
 | |
| mixed
 | |
| $X, mixed
 | |
| $Y, mixed
 | |
| $Z)</code>
 | |
|     </td></tr></table>
 | |
|     </td></tr></table><br />
 | |
| 	
 | |
| 		<br /><br />
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|         <div class="top">[ <a href="#top">Top</a> ]</div>
 | |
|   </div>
 | |
|   <hr />
 | |
| 	<a name="methodH"></a>
 | |
| 	<h3>method H <span class="smalllinenumber">[line 345]</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 H(
 | |
| mixed
 | |
| $X, mixed
 | |
| $Y, mixed
 | |
| $Z)</code>
 | |
|     </td></tr></table>
 | |
|     </td></tr></table><br />
 | |
| 	
 | |
| 		<br /><br />
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|         <div class="top">[ <a href="#top">Top</a> ]</div>
 | |
|   </div>
 | |
|   <hr />
 | |
| 	<a name="methodlmhash"></a>
 | |
| 	<h3>method lmhash <span class="smalllinenumber">[line 306]</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>string lmhash(
 | |
| [string
 | |
| $password = ""])</code>
 | |
|     </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>  </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  </td>
 | |
|         <td><b>$password</b>  </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 141]</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  </td>
 | |
|         <td><b>$data</b>  </td>
 | |
|         <td></td>
 | |
|       </tr>
 | |
|           <tr>
 | |
|         <td class="type">integer  </td>
 | |
|         <td><b>$count</b>  </td>
 | |
|         <td>count</td>
 | |
|       </tr>
 | |
|         </table>
 | |
|     </div><br />
 | |
|         <div class="top">[ <a href="#top">Top</a> ]</div>
 | |
|   </div>
 | |
|   <hr />
 | |
| 	<a name="methodmd4lshift"></a>
 | |
| 	<h3>method md4lshift <span class="smalllinenumber">[line 493]</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 md4lshift(
 | |
| mixed
 | |
| $x, mixed
 | |
| $s)</code>
 | |
|     </td></tr></table>
 | |
|     </td></tr></table><br />
 | |
| 	
 | |
| 		<br /><br />
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|         <div class="top">[ <a href="#top">Top</a> ]</div>
 | |
|   </div>
 | |
|   <hr />
 | |
| 	<a name="methodmdfour"></a>
 | |
| 	<h3>method mdfour <span class="smalllinenumber">[line 350]</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 mdfour(
 | |
| mixed
 | |
| $in)</code>
 | |
|     </td></tr></table>
 | |
|     </td></tr></table><br />
 | |
| 	
 | |
| 		<br /><br />
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|         <div class="top">[ <a href="#top">Top</a> ]</div>
 | |
|   </div>
 | |
|   <hr />
 | |
| 	<a name="methodmdfour64"></a>
 | |
| 	<h3>method mdfour64 <span class="smalllinenumber">[line 418]</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 mdfour64(
 | |
| mixed
 | |
| &$A, mixed
 | |
| &$B, mixed
 | |
| &$C, mixed
 | |
| &$D, mixed
 | |
| $M)</code>
 | |
|     </td></tr></table>
 | |
|     </td></tr></table><br />
 | |
| 	
 | |
| 		<br /><br />
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|         <div class="top">[ <a href="#top">Top</a> ]</div>
 | |
|   </div>
 | |
|   <hr />
 | |
| 	<a name="methodmxor"></a>
 | |
| 	<h3>method mxor <span class="smalllinenumber">[line 167]</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  </td>
 | |
|         <td><b>$in1</b>  </td>
 | |
|         <td></td>
 | |
|       </tr>
 | |
|           <tr>
 | |
|         <td class="type">array  </td>
 | |
|         <td><b>$in2</b>  </td>
 | |
|         <td></td>
 | |
|       </tr>
 | |
|         </table>
 | |
|     </div><br />
 | |
|         <div class="top">[ <a href="#top">Top</a> ]</div>
 | |
|   </div>
 | |
|   <hr />
 | |
| 	<a name="methodnthash"></a>
 | |
| 	<h3>method nthash <span class="smalllinenumber">[line 323]</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>string nthash(
 | |
| [string
 | |
| $password = ""])</code>
 | |
|     </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>  </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  </td>
 | |
|         <td><b>$password</b>  </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 154]</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
 | |
| $p, mixed
 | |
| $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  </td>
 | |
|         <td><b>$in</b>  </td>
 | |
|         <td>in input data</td>
 | |
|       </tr>
 | |
|           <tr>
 | |
|         <td class="type">array  </td>
 | |
|         <td><b>$p</b>  </td>
 | |
|         <td>p permutation</td>
 | |
|       </tr>
 | |
|         </table>
 | |
|     </div><br />
 | |
|         <div class="top">[ <a href="#top">Top</a> ]</div>
 | |
|   </div>
 | |
|   <hr />
 | |
| 	<a name="methodROUND1"></a>
 | |
| 	<h3>method ROUND1 <span class="smalllinenumber">[line 474]</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 ROUND1(
 | |
| mixed
 | |
| &$a, mixed
 | |
| $b, mixed
 | |
| $c, mixed
 | |
| $d, mixed
 | |
| $k, mixed
 | |
| $s, mixed
 | |
| $X)</code>
 | |
|     </td></tr></table>
 | |
|     </td></tr></table><br />
 | |
| 	
 | |
| 		<br /><br />
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|         <div class="top">[ <a href="#top">Top</a> ]</div>
 | |
|   </div>
 | |
|   <hr />
 | |
| 	<a name="methodROUND2"></a>
 | |
| 	<h3>method ROUND2 <span class="smalllinenumber">[line 480]</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 ROUND2(
 | |
| mixed
 | |
| &$a, mixed
 | |
| $b, mixed
 | |
| $c, mixed
 | |
| $d, mixed
 | |
| $k, mixed
 | |
| $s, mixed
 | |
| $X)</code>
 | |
|     </td></tr></table>
 | |
|     </td></tr></table><br />
 | |
| 	
 | |
| 		<br /><br />
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|         <div class="top">[ <a href="#top">Top</a> ]</div>
 | |
|   </div>
 | |
|   <hr />
 | |
| 	<a name="methodROUND3"></a>
 | |
| 	<h3>method ROUND3 <span class="smalllinenumber">[line 486]</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 ROUND3(
 | |
| mixed
 | |
| &$a, mixed
 | |
| $b, mixed
 | |
| $c, mixed
 | |
| $d, mixed
 | |
| $k, mixed
 | |
| $s, mixed
 | |
| $X)</code>
 | |
|     </td></tr></table>
 | |
|     </td></tr></table><br />
 | |
| 	
 | |
| 		<br /><br />
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|         <div class="top">[ <a href="#top">Top</a> ]</div>
 | |
|   </div>
 | |
|   <hr />
 | |
| 	<a name="methodsmb_hash"></a>
 | |
| 	<h3>method smb_hash <span class="smalllinenumber">[line 262]</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 smb_hash(
 | |
| mixed
 | |
| $in, mixed
 | |
| $key, mixed
 | |
| $forw)</code>
 | |
|     </td></tr></table>
 | |
|     </td></tr></table><br />
 | |
| 	
 | |
| 		<br /><br />
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|         <div class="top">[ <a href="#top">Top</a> ]</div>
 | |
|   </div>
 | |
|   <hr />
 | |
| 	<a name="methodstr_to_key"></a>
 | |
| 	<h3>method str_to_key <span class="smalllinenumber">[line 247]</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 str_to_key(
 | |
| mixed
 | |
| $str)</code>
 | |
|     </td></tr></table>
 | |
|     </td></tr></table><br />
 | |
| 	
 | |
| 		<br /><br />
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|         <div class="top">[ <a href="#top">Top</a> ]</div>
 | |
|   </div>
 | |
|   <hr />
 | |
| 	<a name="methodunsigned_shift_r"></a>
 | |
| 	<h3>method unsigned_shift_r <span class="smalllinenumber">[line 503]</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 unsigned_shift_r(
 | |
| mixed
 | |
| $a, mixed
 | |
| $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 />
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|         <div class="top">[ <a href="#top">Top</a> ]</div>
 | |
|   </div>
 | |
| </div><br />
 | |
| 
 | |
| 
 | |
|         <div class="credit">
 | |
| 		    <hr />
 | |
| 		    Documentation generated on Tue, 07 Feb 2006 17:03:38 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.2.3</a>
 | |
| 	      </div>
 | |
|       </td></tr></table>
 | |
|     </td>
 | |
|   </tr>
 | |
| </table>
 | |
| 
 | |
| 
 | |
| <p align="center">
 | |
| <script type="text/javascript"><!--
 | |
| google_ad_client = "pub-4179059556107138";
 | |
| google_alternate_ad_url = "http://lam.sourceforge.net/google_adsense_script.html";
 | |
| google_ad_width = 728;
 | |
| google_ad_height = 90;
 | |
| google_ad_format = "728x90_as";
 | |
| google_ad_type = "text_image";
 | |
| google_ad_channel ="";
 | |
| google_page_url = document.location;
 | |
| google_color_border = "EEEEEE";
 | |
| google_color_bg = "FFFFFF";
 | |
| google_color_link = "0000FF";
 | |
| google_color_url = "008000";
 | |
| google_color_text = "000000";
 | |
| //--></script>
 | |
| <script type="text/javascript"
 | |
|   src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
 | |
| </script>
 | |
| </p>
 | |
| 
 | |
| </body>
 | |
| </html> |