Sha256: f5e78b7ec1b48cc7673b44c11a535ed5ee8ddb3b847c2ba4178b0b8144553231
Contents?: true
Size: 368 Bytes
Versions: 7
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
7 entries across 7 versions & 1 rubygems