beyondzzk / as3crypto

Automatically exported from code.google.com/p/as3crypto
0 stars 0 forks source link

Only 64 bits of IV (initialization vector) are used with CBC #66

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Encrypt some data using CBC with default (128bit) block size. Keep IV.
2. Decrypt providing all 128 bits of kept IV to CBC IV field.
3. Decrypt providing only first 64 bits of kept IV to CBC IV field.

Decryption with (3) should fail. But data is decrypted properly.

Original issue reported on code.google.com by kuba.wyr...@gmail.com on 19 Sep 2011 at 2:06