Class: Devise::Encryptors::Base
- Inherits:
-
Object
- Object
- Devise::Encryptors::Base
- Defined in:
- lib/devise/encryptors/base.rb
Direct Known Subclasses
AuthlogicSha512, Bcrypt, 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 ⇒ Object
15 16 17 |
# File 'lib/devise/encryptors/base.rb', line 15 def self.salt Devise.friendly_token end |