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

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

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

unit testing - How to mock PreferenceManager in Android? -