Class: Sorcery::CryptoProviders::SHA256
- Inherits:
-
Object
- Object
- Sorcery::CryptoProviders::SHA256
- Includes:
- Common
- Defined in:
- lib/sorcery/crypto_providers/sha256.rb
Overview
Sha256
Uses the Sha256 hash algorithm to encrypt passwords.
Class Method Summary collapse
Methods included from Common
Class Method Details
.secure_digest(digest) ⇒ Object
30 31 32 |
# File 'lib/sorcery/crypto_providers/sha256.rb', line 30 def secure_digest(digest) Digest::SHA256.hexdigest(digest) end |