Passphrase, Salt and IV, do I need all of these?
Yes, you need all of these things. Salt (and an “iteration count”) is used to derive a key from the password. Refer to PKCS #5 for more information. The salt and iteration count used for key derivation do not have to be secret. The salt should be unpredictable, however, and is best chosen randomly. CBC … Read more