Class: Sorcery::CryptoProviders::SHA512

Inherits:
Object
  • Object
show all
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

included

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