Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include("PasswordHash.php");
- $password = 'test123';
- $hasher = new PasswordHash(8, false);
- $hash = $hasher->HashPassword($password);
- if(strlen($hash > 20))
- {
- echo $hash;
- }
- else
- {
- echo 'hash less than 20 chars: ' . $hash;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement