Sha256: ef4d249d2287106bbbe1e38436225ae2ab85363a2bc35a7eb8a8f21a4055ce2d
Contents?: true
Size: 372 Bytes
Versions: 27
Compression:
Stored size: 372 Bytes
Contents
require 'test_helper' module CryptoProviderTest class Sha256Test < ActiveSupport::TestCase def test_encrypt assert Authlogic::CryptoProviders::Sha256.encrypt("mypass") end def test_matches hash = Authlogic::CryptoProviders::Sha256.encrypt("mypass") assert Authlogic::CryptoProviders::Sha256.matches?(hash, "mypass") end end end
Version data entries
27 entries across 27 versions & 9 rubygems