Make sure that the bcrypt
gem has been installed.
require 'Benchmark'
require 'bcrypt'
Benchmark.measure { BCrypt::Password.create('secret', :cost => 12) }
Make sure that the bcrypt
gem has been installed.
require 'Benchmark'
require 'bcrypt'
Benchmark.measure { BCrypt::Password.create('secret', :cost => 12) }