Class: Devise::Encryptors::Base
- Inherits:
-
Object
- Object
- Devise::Encryptors::Base
- Defined in:
- lib/devise/encryptors/base.rb
Direct Known Subclasses
AuthlogicSha512, ClearanceSha1, RestfulAuthenticationSha1, Sha1, Sha512
Class Method Summary collapse
Class Method Details
.digest ⇒ Object
11 12 13 |
# File 'lib/devise/encryptors/base.rb', line 11 def self.digest raise NotImplemented end |
.salt(stretches) ⇒ Object
15 16 17 |
# File 'lib/devise/encryptors/base.rb', line 15 def self.salt(stretches) Devise.friendly_token[0,20] end |