Add Salt for Encryption component
Posted: Thu 09 Aug 2012 22:51
It is common to salt each encrypted record "password" or encryption key with a unique value. This prevents cryptanalysis of repeating encrypted values since identical plaintext strings will encrypt differently.
"AAAA" plaintext in one record will encrypt differently than "AAAA" in another, using the same password concatenated with the record's salt value. The salt value is stored in plaintext in each record.
The way you have implemented it now encrypts "AAAA" to "1234" (or whatever) every time.
Will you consider adding salt support in your encryption component in some future version?
Best regards,
Kevin G. McCoy
"AAAA" plaintext in one record will encrypt differently than "AAAA" in another, using the same password concatenated with the record's salt value. The salt value is stored in plaintext in each record.
The way you have implemented it now encrypts "AAAA" to "1234" (or whatever) every time.
Will you consider adding salt support in your encryption component in some future version?
Best regards,
Kevin G. McCoy