Hashing passwords
This file is part of Ratatöskr. Ratatöskr is licensed unter the MIT / X11 License. See “ratatoeskr/licenses/ratatoeskr” for more information.
ratatoeskr/ | Hashing passwords |
PasswordHash | Contains static functions for password hashes. |
Functions | |
create | Create a password hash string. |
validate | Validate a salted hash. |
Create a password hash string.
public static function create( $password )
Validate a salted hash.
public static function validate( $password, $pwhash )