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