Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $security = new Phalcon\Security();
- $password = 'password';
- $hash = $security->hash($password);
- var_dump($security->checkHash($password, $hash));
- var_dump(password_verify($password, $hash));
Advertisement
Add Comment
Please, Sign In to add comment