Advertisement
deseven

mysqlPasswordHash() php

Apr 4th, 2017
398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.14 KB | None | 0 0
  1. <?php
  2.  
  3. function mysqlPasswordHash($password) {
  4.     return '*'.strtoupper(sha1(sha1($password,true)));
  5. }
  6.  
  7. echo mysqlPasswordHash('qwerty');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement