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