Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.17 KB | None | 0 0
  1. <?php
  2. $salt = 'saiO2ojHlRWn1Jvj8qEEDPOw/aBs0oWo';
  3.  
  4. $hash = base64_encode(hash_pbkdf2('sha1', 'test', base64_decode($salt), 1000, 24, true));
  5.  
  6. echo "sha1:1000:$salt:$hash";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement