antonvrg

PHP Hashing

Aug 28th, 2011
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.19 KB | None | 0 0
  1. function secure_hash($data) {
  2.   $salt = '$2a$07$hjbJGKhJju8QljKIgy789g7Y&^I%9ghu%$';
  3.   //$chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
  4.   return crypt($data, $salt);
  5. }
Advertisement
Add Comment
Please, Sign In to add comment