***************************************************************************** emuhash - partly emulates the php mhash functions version: 2004040701

(c) 2004 - Simon Matter <simon.matter@invoca.ch>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA


MHASH_MD5 = 'md5' (line 50)


MHASH_RIPEMD160 = 'rmd160' (line 52)
MHASH_SHA1 = 'sha1' (line 51)
mhash (line 81)
void mhash ( $hash_id,  $password_clear)
  • $hash_id
  • $password_clear
mhash_keygen_s2k (line 102)
void mhash_keygen_s2k ( $hash_id,  $password_clear,  $salt,  $bytes)
  • $hash_id
  • $password_clear
  • $salt
  • $bytes
openssl_hash (line 58)


void openssl_hash ( $openssl_hash_id,  $password_clear)
  • $openssl_hash_id
  • $password_clear

Documentation generated on Fri, 22 May 2009 19:08:56 +1000 by phpDocumentor 1.4.1