I am having a bit of difficulty understanding and using php's Mcrypt. I can very easily encrypt and decrypt messages on same script where the decrypt function has access to the IV, td, and stuff.
But, what if you want to decrypt messages when the IV is not available.
For instance I want to ecrypt variable, and on different page I want to decrypt it.
The only way I can think of doing this is by passing the encrypted variable, IV, and the td resource..
Is that the only way to do this?? or am I completely wrong?
-Thanks for your help
dm12dm