Module: Devise::Encryptors

Defined in:
lib/devise/encryptors/base.rb,
lib/devise.rb,
lib/devise/encryptors/sha1.rb,
lib/devise/encryptors/bcrypt.rb,
lib/devise/encryptors/sha512.rb,
lib/devise/encryptors/clearance_sha1.rb,
lib/devise/encryptors/authlogic_sha512.rb,
lib/devise/encryptors/restful_authentication_sha1.rb

Overview

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

Defined Under Namespace

Classes: AuthlogicSha512, Base, Bcrypt, ClearanceSha1, RestfulAuthenticationSha1, Sha1, Sha512