Sha256: b7bc8878fc2952e20fce8d70348112a286f61c66571aaf71b777a4bb79bfbe80
Contents?: true
Size: 368 Bytes
Versions: 3
Compression:
Stored size: 368 Bytes
Contents
require "test_helper" 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
authlogic-4.2.0 | test/crypto_provider_test/sha512_test.rb |
authlogic-4.1.1 | test/crypto_provider_test/sha512_test.rb |
authlogic-4.1.0 | test/crypto_provider_test/sha512_test.rb |