Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function trip($input) {
- $input = explode("#", $input, 2)[1];
- $input = mb_convert_encoding($input, 'Shift_JIS', 'UTF-8');
- $salt = substr($input . 'H..', 1, 2);
- $salt = preg_replace('/[^\.-z]/', '.', $salt);
- $salt = strtr($salt, ':;<=>?@[\]^_`', 'ABCDEFGabcdef');
- return '!' . substr(crypt($input, $salt), -10);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement