My php script and my c# application will pass a hash string to each other that is 32 chars long, what is the best mode for this? I thought ECB but am unsure as it says if using more then 1 block dont use. How do I know how big the block is?
They will occasionally pass a large text file, which would be the best mode for encrypting this…CBC?
Any good useful reads welcome…
Thanks
ECB is the simplest mode and really not recommended (it’s not quite as secure as other modes).
Personally I’d use CBC.