Class Devise::Encryptors::ClearanceSha1
In: lib/devise/encryptors/clearance_sha1.rb
Parent: Base

ClearanceSha1

Simulates Clearance‘s default encryption mechanism. Warning: it uses Devise‘s pepper to port the concept of REST_AUTH_SITE_KEY Warning: it uses Devise‘s stretches configuration to port the concept of REST_AUTH_DIGEST_STRETCHES

Methods

digest  

Public Class methods

Generates a default password digest based on salt, pepper and the incoming password.

[Validate]