<?xml version="1.0"?><phpdoc><class name="Crypt_HCEMD5" extends="" undoc="true" access="private"><file>c:/www/apache/doc2//pear/Crypt/HCEMD5.php</file><doc></doc><function name="Crypt_HCEMD5" undoc="false" access="public"><doc><parameter name="$key" type="string">shared secret key</parameter><parameter name="$rand" default="null" type="string">(optional) The randomly generated key</parameter><return type="void"/><description/><shortdescription>Creates a Crypt_HCEMD5 object.</shortdescription></doc></function><function name="encrypt" undoc="false" access="public"><doc><parameter name="$data" type="string">data to encrypt.</parameter><return name="" type="string">The encrypted binary data.</return><description/><shortdescription>Encrypt a block of data.</shortdescription></doc></function><function name="decrypt" undoc="false" access="public"><doc><parameter name="$data" type="string">data to decrypt.</parameter><return name="" type="string">The decrypted binary data.</return><description/><shortdescription>Decrypt a block of data.</shortdescription></doc></function><function name="encodeMime" undoc="false" access="public"><doc><parameter name="$data" type="string">data to encrypt.</parameter><return name="" type="string">The encrypted mime-encoded data.</return><description/><shortdescription>Encrypt a block of data after MIME-encoding it.</shortdescription></doc></function><function name="decodeMime" undoc="false" access="public"><doc><parameter name="$data" type="string">data to decrypt.</parameter><return name="" type="string">The decrypted mime-decoded data.</return><description/><shortdescription>Decrypt a block of data and then MIME-decode it.</shortdescription></doc></function><function name="encodeMimeSelfRand" undoc="false" access="public"><doc><parameter name="$data" type="string">data to encrypt.</parameter><return type="void"/><description>random hash in the final output in plaintext so it can beretrieved and decrypted with only the secret key bydecodeMimeSelfRand().</description><shortdescription>Encrypt a block of data after MIME-encoding it, and include the</shortdescription></doc></function><function name="decodeMimeSelfRand" undoc="false" access="public"><doc><parameter name="$data" type="string">data to decrypt, in the format: randkey#encrypted_data.</parameter><return name="" type="string">The decrypted, mime-decoded data.</return><description>random key stored in beginning of the ciphertext generated byencodeMimeSelfRand().</description><shortdescription>Decrypt a block of data and then MIME-decode it, using the</shortdescription></doc></function><function name="binmd5" undoc="false" access="private"><doc><parameter name="$string" type="string">string to hash.</parameter><return name="" type="string">The md5 mhash of the string.</return><description/><shortdescription>Implment md5 hashing in php, though use the mhash() function if it is available.</shortdescription></doc></function><function name="array2pack" undoc="false" access="private"><doc><parameter name="$array" type="array">array to pack.</parameter><return name="" type="string">The binary packed representation of the array.</return><description/><shortdescription>Turn an array into a binary packed string.</shortdescription></doc></function><function name="newKey" undoc="false" access="private"><doc><parameter name="$round" type="string">basis for the key.</parameter><return type="void"/><description/><shortdescription>Generate a new key for a new encryption block.</shortdescription></doc></function><variable name="$key" access="private" type="string"><doc><description/><shortdescription>The first key to use. This should be a shared secret.</shortdescription></doc></variable><variable name="$rand" access="private" type="long"><doc><description>block of bytes.</description><shortdescription>The second key to use. This should be a randomly generated</shortdescription></doc></variable></class></phpdoc>
