Sha256: 35aa4f01780994c75220d977f236d357a520264ecee8537b158667196393c589
Contents?: true
Size: 518 Bytes
Versions: 11
Compression:
Stored size: 518 Bytes
Contents
module Devise # Implements a way of adding different encryptions. # The class should implement a self.digest method that taks the following params: # - password # - stretches: the number of times the encryption will be applied # - salt: the password salt as defined by devise # - pepper: Devise config option # module Encryptors class Base def self.digest raise NotImplemented end def self.salt(stretches) Devise.friendly_token end end end end
Version data entries
11 entries across 11 versions & 2 rubygems