Sha256: da0bd7058aabfca4b3c8795743168e2f290d26965c851fb0bd29fb2fe1474c88

Contents?: true

Size: 368 Bytes

Versions: 3

Compression:

Stored size: 368 Bytes

Contents

require "test_helper"

module CryptoProviderTest
  class AES256Test < ActiveSupport::TestCase
    def test_encrypt
      assert Authlogic::CryptoProviders::AES256.encrypt("mypass")
    end

    def test_matches
      hash = Authlogic::CryptoProviders::AES256.encrypt("mypass")
      assert Authlogic::CryptoProviders::AES256.matches?(hash, "mypass")
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
authlogic-4.2.0 test/crypto_provider_test/aes256_test.rb
authlogic-4.1.1 test/crypto_provider_test/aes256_test.rb
authlogic-4.1.0 test/crypto_provider_test/aes256_test.rb