Re: ecb works , but cfb and cbc don't ( php )




veg_all@xxxxxxxxx wrote:
Tom St Denis wrote:

I'm gonna go out on a limb that you have to reset the IV of the mode
first. e.g.


Thanks, that did work. However, does this mean to decrypt data i need
both the key AND the oriignal IV ? That seems very difficult to do,
hence I prefer ecb. I need encrypted data files to be sent across the
internet and be easily decoded so long as the key is known. Does this
preculde me from using the other modes, beside ecb?

Send the IV with the ciphertext.

Tom

.



Relevant Pages