I am playing with the windows cryptography functions and notice that the results for cryptencrypt produce similar ciphertext for similar plaintext. for example:
plaintext "100000" produces T\ãK„©
or 84 92 227 75 132 169
plaintext "100001" produces T\ãK„¨
or 84 92 227 75 132 168
plaintext "100002" produces T\ãK„«
or 84 92 227 75 132 171
Shouldn't encrypted data appear to be totally uncorrelated to the source data?
these are the parameters I'm using:
CryptAcquireContext PROV_RSA_FULL
CryptCreateHash CALG_MD5
CryptDeriveKey CALG_RC4