Class: Devise::Encryptors::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/devise/encryptors/base.rb

Class Method Summary collapse

Class Method Details

.digestObject

Raises:

  • (NotImplemented)


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