Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #6584

RE: Rinjdael (AES) encryption in Ruby

From CoolAcid <coolacid@gmail.com>
Subject RE: Rinjdael (AES) encryption in Ruby
Newsgroups comp.lang.ruby
References <1165331646.687627.282080@j44g2000cwa.googlegroups.com>
Message-ID <6oOdnZdISP4Q0nPSnZ2dnUVZ_tadnZ2d@giganews.com> (permalink)
Date 2012-06-29 19:59 -0500

Show all headers | View raw


You are using the wrong key length. 

test_aes_encryption is defining a 256 bit key but using a 128
test_openssl_encryption is defining and using a 256 bit key
test_crypt_encryption isn't even setting an IV. 

(But I'm not a ruby dev, nor a Crypto Guru)

--http://compgroups.net/comp.lang.ruby/rinjdael-aes-encryption-in-ruby/755780

Back to comp.lang.ruby | Previous | Next | Find similar


Thread

RE: Rinjdael (AES) encryption in Ruby CoolAcid <coolacid@gmail.com> - 2012-06-29 19:59 -0500

csiph-web