A potentially better approach would be to store the IV and ciphertext in one column. This way, you can generate IVs in the way most appropriate for your choice of encryption mode while also not having to add columns.

Something like "$AES-128-CBC$" + Base64.encode64(iv) + "$" + Base64.encode64(ciphertext) is similar to the format used in crypt, easily parseable, and being Base64-encoded is slightly more convenient when doing queries on the database using command-line clients.

AES using derived keys / IVs. Does it introduce a weakness?
I have HP officejet 6700 printer.  I have been able to print some documents; but now, I could not print again.  When I try to print, it looks like the printer stored the document to be printed into memory. After a while, even when the printer is on &amp; off, when I wanted to print another document, the previous document will print and stop. I am not sure how long it will take to respond to the next print instruction. Right now, printing is at a stand_still.  Can I get help please ?? I have documents on my system that I must print out.
Thanks.
