lib/sorcery/crypto_providers/bcrypt.rb in sorcery-0.4.1 vs lib/sorcery/crypto_providers/bcrypt.rb in sorcery-0.4.2
- old
+ new
@@ -28,14 +28,12 @@
#
# Decided BCrypt is for you? Just insall the bcrypt gem:
#
# gem install bcrypt-ruby
#
- # Tell activate_sorcery! to use it:
+ # Update your initializer to use it:
#
- # activate_sorcery! do |c|
- # c.encryption_algorithm = :bcrypt
- # end
+ # config.encryption_algorithm = :bcrypt
#
# You are good to go!
class BCrypt
class << self
# This is the :cost option for the BCrpyt library. The higher the cost the more secure it is and the longer is take the generate a hash. By default this is 10.
\ No newline at end of file