Skip to content

Instantly share code, notes, and snippets.

@jordanhudgens
Created January 12, 2017 00:55
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 jordanhudgens/3f023aca0f253b1693f8b29d12e6f3b0 to your computer and use it in GitHub Desktop.
Save jordanhudgens/3f023aca0f253b1693f8b29d12e6f3b0 to your computer and use it in GitHub Desktop.
require 'bcrypt'
ssn = BCrypt::Password.create("555555555")
ssn.cost
ssn == "555555555"
ssn == "555555556"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment