Class: Sorcery::CryptoProviders::MD5

Inherits:
Object
  • Object
show all
Includes:
Common
Defined in:
lib/sorcery/crypto_providers/md5.rb

Overview

This class was made for the users transitioning from md5 based systems. I highly discourage using this crypto provider as it superbly inferior to your other options.

Please use any other provider offered by Sorcery.

Class Method Summary collapse

Methods included from Common

included

Class Method Details

.secure_digest(digest) ⇒ Object



14
15
16
# File 'lib/sorcery/crypto_providers/md5.rb', line 14

def secure_digest(digest)
  Digest::MD5.hexdigest(digest)
end