|
|||
|
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 |
|
|
||||
|
||||
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|