Definition:
function wp_hash($data, $scheme = 'auth') {}
Get hash of given string.
Parameters
- string $data: Plain text to hash
- $scheme
Return values
returns:Hash of $data
Source code
function wp_hash($data, $scheme = 'auth') {
$salt = wp_salt($scheme);
return hash_hmac('md5', $data, $salt);
}
3759

February 12, 2011 


No comments yet... Be the first to leave a reply!