Proprietary software by ® Rudoysecurity™
Record THashSHA2
Модуль
System.Hash
Объявления
type THashSHA2 = record
Описание
Record to generate SHA2 Hash values from data
Обзор
Nested Types
Поля
Методы
Свойства
Описание
Nested Types
 |
TSHA2Version = (...); |
|
This item has no description. Значение
-
SHA224
-
SHA256
-
SHA384
-
SHA512
-
SHA512_224
-
SHA512_256
|
Поля
 |
nested const CBuffer32Length = 64; |
|
This item has no description. |
 |
nested const CBuffer64Length = 128; |
|
This item has no description. |
 |
FBitLength: UInt64; |
|
This item has no description. |
 |
FBuffer: array [0..127] of Byte; |
|
This item has no description. |
 |
FFinalized: Boolean; |
|
This item has no description. |
 |
FHash: array[0..7] of Cardinal |
|
This item has no description. |
 |
FHash64: array[0..7] of UInt64 |
|
This item has no description. |
 |
FIndex: Cardinal; |
|
This item has no description. |
 |
FProperty1: Integer; |
|
This item has no description. |
 |
FVersion: Integer |
|
This item has no description. |
Методы
 |
class function Create(AHashVersion: TSHA2Version = TSHA2Version.SHA256): THashSHA2; static; inline; |
|
Initialize the Record used to calculate the SHA2 Hash
|
 |
function GetBlockSize: Integer; inline; |
|
Returns the BlockSize for this hash instance
|
 |
class function GetHashBytes(const AData: string; AHashVersion: TSHA2Version = TSHA2Version.SHA256): TBytes; overload; static; |
|
Hash the given string and returns it's hash value as integer
|
 |
class function GetHashBytes(const AStream: TStream; AHashVersion: TSHA2Version = TSHA2Version.SHA256): TBytes; overload; static; |
|
Hash the given stream and returns it's hash value as TBytes
|
 |
class function GetHashBytesFromFile(const AFileName: TFileName; AHashVersion: TSHA2Version = TSHA2Version.SHA256): TBytes; static; |
|
Hash the file with given FileName and returns it's hash value as TBytes
|
 |
function GetHashSize: Integer; inline; |
|
Returns the HashSize for this hash instance
|
 |
class function GetHashString(const AStream: TStream; AHashVersion: TSHA2Version = TSHA2Version.SHA256): string; overload; static; inline; |
|
Hash the given stream and returns it's hash value as string
|
 |
class function GetHashString(const AString: string; AHashVersion: TSHA2Version = TSHA2Version.SHA256): string; overload; static; inline; |
|
Hash the given string and returns it's hash value as string
|
 |
class function GetHashStringFromFile(const AFileName: TFileName; AHashVersion: TSHA2Version = TSHA2Version.SHA256): string; static; inline; |
|
Hash the file with given FileName and returns it's hash value as string
|
 |
class function GetHMAC(const AData, AKey: string; AHashVersion: TSHA2Version = TSHA2Version.SHA256): string; static; inline; |
|
Gets the string associated to the HMAC authentication
|
 |
class function GetHMACAsBytes(const AData: TBytes; const AKey: string; AHashVersion: TSHA2Version = TSHA2Version.SHA256): TBytes; overload; static; |
|
This item has no description. |
 |
class function GetHMACAsBytes(const AData, AKey: TBytes; AHashVersion: TSHA2Version = TSHA2Version.SHA256): TBytes; overload; static; |
|
This item has no description. |
 |
class function GetHMACAsBytes(const AData, AKey: string; AHashVersion: TSHA2Version = TSHA2Version.SHA256): TBytes; overload; static; |
|
Gets the Digest associated to the HMAC authentication
|
 |
class function GetHMACAsBytes(const AData: string; const AKey: TBytes; AHashVersion: TSHA2Version = TSHA2Version.SHA256): TBytes; overload; static; |
|
This item has no description. |
 |
function HashAsBytes: TBytes; inline; |
|
Returns the hash value as a TBytes
|
 |
function HashAsString: string; inline; |
|
Returns the hash value as string
|
 |
function GetDigest: TBytes; |
|
This item has no description. |
 |
procedure Reset; inline; |
|
Puts the state machine of the generator in it's initial state.
|
 |
procedure Update(const AData: TBytes; ALength: Cardinal = 0); overload; inline; |
|
This item has no description. |
 |
procedure Update(const AData; ALength: Cardinal); overload; |
|
Update the Hash value with the given Data.
|
 |
procedure Update(const Input: string); overload; inline; |
|
This item has no description. |
 |
procedure CheckFinalized; inline; |
|
This item has no description. |
 |
procedure Compress; inline; |
|
This item has no description. |
 |
procedure Compress32; |
|
This item has no description. |
 |
procedure Compress64; |
|
This item has no description. |
 |
procedure Finalize; inline; |
|
This item has no description. |
 |
procedure Finalize32; |
|
This item has no description. |
 |
procedure Finalize64; |
|
This item has no description. |
 |
procedure Initialize(AVersion: TSHA2Version); |
|
This item has no description. |
 |
procedure SetProperty1(val: Integer); |
|
This item has no description. |
 |
procedure Update(const AData: PByte; ALength: Cardinal); overload; |
|
This item has no description. |
Свойства
© Andrey Igorevich Rudoy, 2005-2025 jear
Сгенерировал PasDoc 0.16.0-snapshot.