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

Version Path
authlogic-1.3.3 test/crypto_provider_tests/sha512_test.rb
authlogic-1.3.4 test/crypto_provider_tests/sha512_test.rb
authlogic-1.3.7 test/crypto_provider_tests/sha512_test.rb
authlogic-1.4.0 test/crypto_provider_tests/sha512_test.rb
authlogic-1.4.1 test/crypto_provider_tests/sha512_test.rb
authlogic-1.3.8 test/crypto_provider_tests/sha512_test.rb
authlogic-1.3.9 test/crypto_provider_tests/sha512_test.rb
authlogic-1.3.5 test/crypto_provider_tests/sha512_test.rb
authlogic-1.3.6 test/crypto_provider_tests/sha512_test.rb
authlogic-1.4.2 test/crypto_provider_tests/sha512_test.rb
authlogic-1.4.3 test/crypto_provider_tests/sha512_test.rb