Using AES-CBC with a random number plus a counter for the IV [migrated]

I understand that AES-CBC uses the following scheme for encrypting data (diagram from Wikipedia):

And, I understand that we don’t want initialization vectors to be predictable or constant, and also that you don’t want it to just be a plai… Continue reading Using AES-CBC with a random number plus a counter for the IV [migrated]

Changing openssl key/IV when encrypting diffrent rows of data in database?

I’m looking for a way to encrypt data in MySQL database securely. The data come from a web interface from a POST form and each POST request from the user insert a new line in the database.
Right now, I am trying to achieve this from my PHP… Continue reading Changing openssl key/IV when encrypting diffrent rows of data in database?

Is it possible to find an AES key given part of the key, the ciphertext, initialization vector and mode of encryption? [migrated]

The following details are given:

Partial Key: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX11000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011
Initialization Vector: E898EF8E91F8C9B201E6E29DF87EE152
Ciphert… Continue reading Is it possible to find an AES key given part of the key, the ciphertext, initialization vector and mode of encryption? [migrated]