uses IdHashMessageDigest;
...
var
pMD5: TIdHashMessageDigest5;
begin
pMD5 := TIdHashMessageDigest5.Create;
try
ShowMessage( 'abc = ' + pMD5.HashStringAsHex( 'abc' ) + #13 +
'abc = ' + pMD5.HashStringAsHex( 'abc' ) + #13 +
'abd = ' + pMD5.HashStringAsHex( 'abd' ) );
finally
pMD5.Free;
end;
Output: Microsoft AX 2012, X++, C#, SQL server, SSRS, Java, JavaFX, Oracle, PL/SQL, Delphi - codes examples, step-by-step tutorials, experiences.
Friday, March 16, 2018
DELPHI - How get MD5 hash value for string (RSA-MD5 fingerprint)
Hash function returns same value for same string. This uses RSA-MD5 algorithm.
Subscribe to:
Post Comments (Atom)

hi Josef Pirkl ...
ReplyDeleteplease how to revers a string biuld by pMD5 ?. thanks advance.
Is't not possible to reverse a MD5 hash to the original string.
ReplyDeleteBTS5huR9R5VhfdWnVXFxVFNUkxs9A5zrwVjQuvhxY9kV2Ny83hQA6
ReplyDelete