System.Hash.THashSHA2.GetHashBytesFromFile
Delphi
class function GetHashBytesFromFile(const AFileName: TFileName; AHashVersion: TSHA2Version = TSHA2Version.SHA256): TBytes; static;
C++
static System::DynamicArray<System::Byte> __fastcall GetHashBytesFromFile(const System::Sysutils::TFileName AFileName, TSHA2Version AHashVersion = (TSHA2Version)(0x1));
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Hash.pas System.Hash.hpp |
System.Hash | THashSHA2 |
Description
Creates a hash digest from the specified file and returns the value of the created digest as bytes.