How do I hash a string with Delphi? -


how make md5 hash of string delphi?

if want md5 digest , have indy components installed, can this:

uses sysutils, idglobal, idhash, idhashmessagedigest;  tidhashmessagedigest5.create try     result := tidhash128.ashex(hashvalue('hello, world'));     free; end; 

most popular algorithms supported in delphi cryptography package:

  • haval
  • md4, md5
  • ripemd-128, ripemd-160
  • sha-1, sha-256, sha-384, sha-512,
  • tiger

update dcpcrypt maintained warren postma , source can found here.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -