Secure password hashing function

Uses bcrypt algorithm to hash user password. Read more.

php
fork add to bundle source
function secure_password_hash($password) { $hash = password_hash($password, PASSWORD_DEFAULT); return $hash; }

usage

load_function('secure_password_hash'); echo $hash = secure_password_hash('12345'); // ... // To check password when user logins later: password_verify($_POST['password'], $hash_from_db);
← how to use this in app?
create log ...inout