AES seems like a relatively quick way to do strong encryption and there are clearly native .NET crypto service providers. What mode(s) are best? Will something like ECB provide me with a speed advantage over other modes?
AES seems like a relatively quick way to do strong encryption and there are
Share
Please don’t use ECB. Electronic code book encrypts blocks independent of each other. Use something like CBC which generates IV for subsequent blocks based upon the ciphertext for the current block. It’s far less susceptible to cryptanalysis.
There is no possible speed advantage worth that…and if there is a speed advantage (citation?) of ECB over CBC it’s most certainly negligible.