Hi all,

When AES is used as the cipher algorithm, and if the supplied secret key
length is < 16, Encryptor prints the debug message:

"actualKey too short, adding some random characters"

However the random characters are just 0s. I think instead we should be
using some random bytes instead! Optionally we could also impose a minimum
acceptable size on the secret key length, and throw an exception if it does
not match this.

WDYT?

Colm.


-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to