Sha256: f719c82e2423db7da64e88242251bfa85a6d6e757385b93dfc670c5394aee245
Contents?: true
Size: 400 Bytes
Versions: 14
Compression:
Stored size: 400 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper.rb' 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
14 entries across 14 versions & 1 rubygems