Skip to content

Instantly share code, notes, and snippets.

@anklos
Last active August 29, 2015 13:58
Show Gist options
  • Save anklos/9949401 to your computer and use it in GitHub Desktop.
Save anklos/9949401 to your computer and use it in GitHub Desktop.
create hash string
crypto.createHmac('sha512', salt).update(content).digest("base64");
http://adambard.com/blog/3-wrong-ways-to-store-a-password/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment