hi all
i am porting opera recovery from alredy existed c++ code
i struck at this fucntion
MD5(tmpBuffer, sizeof(opera_salt) + DES_KEY_SZ, hashSignature1);
can any one please tell where can i get that md5 unit
thanks in advance.
hi all
i am porting opera recovery from alredy existed c++ code
i struck at this fucntion
MD5(tmpBuffer, sizeof(opera_salt) + DES_KEY_SZ, hashSignature1);
can any one please tell where can i get that md5 unit
thanks in advance.
steve0, the code in your link reference to the md5 openssl implementation, you can find the original declaration of the MD5 function used in the code in this link
unsigned char *MD5(const unsigned char *d, unsigned long n, unsigned char *md);
you can use the MessageDigest_5
(since Delphi 2007) unit to calculate the md5 for a buffer or the TIdHashMessageDigest5
class from the indy components.