Logo Search packages:      
Sourcecode: acidbase version File versions  Download package

Cpdf::md5_16 ( string )

ARC4 functions A series of function to implement ARC4 encoding in PHP calculate the 16 byte version of the 128 bit md5 digest of the string

Definition at line 1086 of file class.pdf.php.

Referenced by encryptInit(), and o_encryption().

                        {
  $tmp = md5($string);
  $out='';
  for ($i=0;$i<=30;$i=$i+2){
    $out.=chr(hexdec(substr($tmp,$i,2)));
  }
  return $out;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index