Guest User

Untitled

a guest
Jun 20th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. key: wordpress_logged_in_1234567890abcdef1234567890abcdef
  2. value: admin|1234567890|abcdef1234567890abcdef1234567890
  3.  
  4. $key = ... // the key from the WP cookie
  5. $value = ... // the value from the WP cookie
  6. $hash = hash_hmac ( 'md5' , $key.$value , 'some secret key' );
Add Comment
Please, Sign In to add comment