Advertisement
Guest User

Untitled

a guest
Mar 4th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. **compute salted hmac
  2.  
  3. ** now compute login digest using nonce
  4.  
  5. ** our example variables
  6. username: "alice"
  7. password: "secret"
  8. userSalt: "6s6Q5Rn0xZP0LPf89bNdv+65EmMUrTsey2fIhim/wKU="
  9. nonce: "3da210bdb1163d0d41d3c516314cbd6e"
  10. hmac: "z9NILqJ3QHSG5+GlDnXsV9txjgo="
  11. digest: "B2B3mIzE/+dqcqOJJ/ejSGXRKvE="
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement