Sha256: 64294b40633f9ded38a16c3b629f81f5a1e0904433489218637201b5b572a5b6

Contents?: true

Size: 404 Bytes

Versions: 9

Compression:

Stored size: 404 Bytes

Contents

require File.dirname(__FILE__) + '/../test_helper.rb'

module CryptoProviderTests
  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

9 entries across 9 versions & 1 rubygems

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