MD5 File Hashing - match Delphi output with PHP md5_file function

后端 未结 2 1211
南笙
南笙 2021-01-07 05:03

I\'m currently using this code for md5 hashing in Delphi 7:

function MD5(const fileName : string) : string;
var
  idmd5 : TIdHashMessageDigest5;
  fs : TFile         


        
2条回答
  •  北海茫月
    2021-01-07 05:37

    Well, you didn't give a Delphi version number, but if you're on D2007 or later you might want to check out this article.

提交回复
热议问题