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

+ (Object) secure_digest(digest)



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

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