CodeIgniter: Encryption is Not Authentication

After encrypting a string, the CodeIgniter PHP framework applies this function to the ciphertext. The function is a shift cipher using a hash of the encryption key.

The comment says they are doing it "to protect against Man-in-the-middle attacks on CBC mode ciphers." I have no idea what that means. I can only guess that they're slightly aware of the fact that encryption is not authentication, and that attackers can modify a CBC mode ciphertext to decrypt the way they want.
http://www.cryptofails.com/2013/07/codeigniter-encryption-is-not.html
Codelgniter: Encryption is Not Authentication
Codelgniter: Encryption is Not Authentication | Cryptofails


No comments:

Post a Comment