Sha256: f68f450b77bf27bdbd86670e77708199d157faa14b9c946c6f2b6b41723baf3d

Contents?: true

Size: 310 Bytes

Versions: 1

Compression:

Stored size: 310 Bytes

Contents

require 'helper'

class TestAesctrRuby < Test::Unit::TestCase
  should "be equal before and after crypt" do
	plain= "Hola mundo del cifrado!"
	pass = "contrasena"
	puts "Cadena original:"+plain
	puts "Contrasena:"+pass
	assert_equal plain, AesCtr.decrypt(AesCtr.encrypt(plain, pass, 192), pass, 192)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aesctr-ruby-1.0.0 test/test_aesctr-ruby.rb