Class: Sorcery::CryptoProviders::SHA512
- Inherits:
-
Object
- Object
- Sorcery::CryptoProviders::SHA512
- Includes:
- Common
- Defined in:
- lib/sorcery/crypto_providers/sha512.rb
Overview
Sha512
Uses the Sha512 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/sha512.rb', line 30 def secure_digest(digest) Digest::SHA512.hexdigest(digest) end |