Class | Devise::Encryptors::RestfulAuthenticationSha1 |
In: |
lib/devise/encryptors/restful_authentication_sha1.rb
|
Parent: | Base |
Simulates Restful Authentication‘s default encryption mechanism. Warning: it uses Devise‘s pepper to port the concept of REST_AUTH_SITE_KEY Warning: it uses Devise‘s stretches configuration to port the concept of REST_AUTH_DIGEST_STRETCHES. Should be set to 10 in the initializer to simulate the default behavior.
Generates a default password digest based on salt, pepper and the incoming password.