Sha256: 6b4bc8c8fc3c14c439e85e08093f2241cc4d7a16ec533c9ac9d93d85baa2fc64
Contents?: true
Size: 524 Bytes
Versions: 44
Compression:
Stored size: 524 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[0,20] end end end end
Version data entries
44 entries across 43 versions & 8 rubygems