I am trying to encrypt some cookie info and have that part working no problem. It is just when I try to store the initialization vector in the DB then use it again am I running into problems.
I'm not sure if the initialization vector is binary data or not and so when I retrieve it from the DB it comes back out ok and decrypts what I need decrypted just fine, but the decrypted info appears to be all binary junk...
Anyone played with encryption and dealt with IV's in a database before? I'm using 128 bit Rijndael/CBC.
Thanks.