I am using the DefaultBlockCipherService with BouncyCastleProvider to do password based encryption. The encryption and decryption work great, but for two unencrypted messages that are only slightly different, almost all of the encrypted bytes are the same. I thought that the initialization vector was supposed to make this not happen, but clearly I am missing something. Am I using an algorithm that won't feedback on the initialization vector? Is there some setting I need to add to the CipherService? BouncyCastleProvider is not a must, but it's a provider I got to work with PBE and PBE is a requirement for me.
Here is a class that demonstrates the issue: -- View this message in context: http://shiro-user.582556.n2.nabble.com/Initialization-Vector-doesn-t-appear-to-be-doing-it-s-job-for-me-tp7577553.html Sent from the Shiro User mailing list archive at Nabble.com.
