Sha256: 49f8dadc2c8b25980775f36a9962da61f6ef36a6cf3128e65f799310e8630837
Contents?: true
Size: 403 Bytes
Versions: 50
Compression:
Stored size: 403 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper.rb' module CryptoProviderTest class Sha512Test < ActiveSupport::TestCase def test_encrypt assert Authlogic::CryptoProviders::Sha512.encrypt("mypass") end def test_matches hash = Authlogic::CryptoProviders::Sha512.encrypt("mypass") assert Authlogic::CryptoProviders::Sha512.matches?(hash, "mypass") end end end
Version data entries
50 entries across 50 versions & 15 rubygems