Module: Devise

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

Defined Under Namespace

Modules: Encryptable, Models

Constant Summary collapse

ENCRYPTORS_LENGTH =

Declare encryptors length which are used in migrations.

{
  :sha1   => 40,
  :sha512 => 128,
  :clearance_sha1 => 40,
  :restful_authentication_sha1 => 40,
  :authlogic_sha512 => 128
}
@@encryptor =
nil