System.Hash.THashSHA1.GetHashString
Delphi
class function GetHashString(const AString: string): string; overload; static; inline;
class function GetHashString(const AStream: TStream): string; overload; static; inline;
C++
static System::UnicodeString __fastcall GetHashString(const System::UnicodeString AString)/* overload */;
static System::UnicodeString __fastcall GetHashString(System::Classes::TStream* const AStream)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Hash.pas System.Hash.hpp |
System.Hash | THashSHA1 |
Description
Creates a hash digest from the provided input value and returns the value of the created digest as a hexadecimal String.
GetHashString accepts one of the following as the input value:
AString
: A string.AStream
: A stream.