Display the drop-down list

mhash_keygen_s2k()

« mhash_get_hash_name | microtime »
<?php
$string 
mhash_keygen_s2k (
    
?// int $hash
    
// string $password
    
// string $salt
    
  // int $bytes
);

// shows the result in hexadecimal
$hex bin2hex($string);
?>
Result
$string = 'ZOә'
$hex = '5a1a8717c74fd399'
Examples
#1 mhash_keygen_s2k  (MHASH_MD5,
 
"Hello world!",
 
"a grain of salt",
 
8)
See also
bin2hex, mhash