Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function encrypt($string) {
- $salt = getGlobalSalt();
- $enc_pass = sha1($salt.$string);
- return $enc_pass;
- }
- function getGlobalSalt() {
- return "my_salt_goes_here";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement