Delphi: How to calculate the SHA hash of a large file

前端 未结 5 630
囚心锁ツ
囚心锁ツ 2021-02-08 05:18

Hi I need to generate a SHA over a 5 Gig file

Do you know of a non string based Delphi library that can do this ?

5条回答
  •  有刺的猬
    2021-02-08 05:29

    I would recommend Wolfgang Ehrhardt's CRC/Hash.
    http://home.netsurf.de/wolfgang.ehrhardt/

    It's fast and "can be compiled with most current Pascal (TP 5/5.5/6, BP 7, VP 2.1, FPC 1.0/2.0/2.2) and Delphi versions (tested with V1 up to V7/9/10)".

    I've used it with D11/D12 too.

提交回复
热议问题