Skip to content

Instantly share code, notes, and snippets.

@yedi
Created July 26, 2013 02:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yedi/9f219c53d6e5db95519c to your computer and use it in GitHub Desktop.
Save yedi/9f219c53d6e5db95519c to your computer and use it in GitHub Desktop.
Why are they generating difference values?
;; https://github.com/cemerick/friend/blob/master/src/cemerick/friend/credentials.clj#L4
skateproj.db=> (creds/hash-bcrypt "yedi")
"$2a$10$1aj8eyFIGLXsPaOVBL5yz.9lcgdwOwqLr6ipo2SEyjjRLk29BRN3e"
skateproj.db=> (creds/hash-bcrypt "yedi")
"$2a$10$0bhoOJH64al09pmjfx/C1.hWTmBIqbRYZxJg2i5TNU17hEFUIzIya"
skateproj.db=> (creds/hash-bcrypt "yedi")
"$2a$10$FSBNQ4YS0r54CEQKJPoZEeFREPj8L6PHkuQvPsXps.A1xBJiUKuEu"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment