Skip to content

Instantly share code, notes, and snippets.

@funkybrain
Created June 5, 2012 09:57
Show Gist options
  • Save funkybrain/2874091 to your computer and use it in GitHub Desktop.
Save funkybrain/2874091 to your computer and use it in GitHub Desktop.
Python: Password Hashing
return "%s, %s" % (s, hash_str(s))
import hmac
hmac.new("secret","udacity").hexdigest()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment