Record THashSHA1
Модуль
Объявления
type THashSHA1 = record
Описание
Record to generate SHA1 Hash values from data
Обзор
Поля
![]() |
FBitLength: Int64; |
![]() |
FBuffer: array [0..63] of Byte; |
![]() |
FFinalized: Boolean; |
![]() |
FHash: array[0..4] of Cardinal; |
![]() |
FIndex: Integer; |
Методы
![]() |
class function Create: THashSHA1; static; inline; |
![]() |
function GetBlockSize: Integer; inline; |
![]() |
class function GetHashBytes(const AData: string): TBytes; overload; static; |
![]() |
class function GetHashBytes(const AStream: TStream): TBytes; overload; static; |
![]() |
class function GetHashBytesFromFile(const AFileName: TFileName): TBytes; static; |
![]() |
function GetHashSize: Integer; inline; |
![]() |
class function GetHashString(const AStream: TStream): string; overload; static; inline; |
![]() |
class function GetHashString(const AString: string): string; overload; static; inline; |
![]() |
class function GetHashStringFromFile(const AFileName: TFileName): string; static; inline; |
![]() |
class function GetHMAC(const AData, AKey: string): string; static; inline; |
![]() |
class function GetHMACAsBytes(const AData: string; const AKey: TBytes): TBytes; overload; static; |
![]() |
class function GetHMACAsBytes(const AData: TBytes; const AKey: string): TBytes; overload; static; |
![]() |
class function GetHMACAsBytes(const AData, AKey: TBytes): TBytes; overload; static; |
![]() |
class function GetHMACAsBytes(const AData, AKey: string): TBytes; overload; static; |
![]() |
function HashAsBytes: TBytes; inline; |
![]() |
function HashAsString: string; inline; |
![]() |
function GetDigest: TBytes; |
![]() |
procedure Reset; inline; |
![]() |
procedure Update(const AData; ALength: Cardinal); overload; |
![]() |
procedure Update(const AData: TBytes; ALength: Cardinal = 0); overload; inline; |
![]() |
procedure Update(const Input: string); overload; inline; |
![]() |
procedure CheckFinalized; |
![]() |
procedure Compress; |
![]() |
procedure Finalize; |
![]() |
procedure Initialize; |
![]() |
procedure Update(const AData: PByte; ALength: Cardinal); overload; |
Описание
Поля
![]() |
FBitLength: Int64; |
|
This item has no description. | |
![]() |
FBuffer: array [0..63] of Byte; |
|
This item has no description. | |
![]() |
FFinalized: Boolean; |
|
This item has no description. | |
![]() |
FHash: array[0..4] of Cardinal; |
|
This item has no description. | |
![]() |
FIndex: Integer; |
|
This item has no description. | |
Методы
![]() |
class function Create: THashSHA1; static; inline; |
|
Initialize the Record used to calculate the SHA1 Hash | |
![]() |
function GetBlockSize: Integer; inline; |
|
Returns the BlockSize for this hash instance | |
![]() |
class function GetHashBytes(const AData: string): TBytes; overload; static; |
|
Hash the given string and returns it's hash value as TBytes | |
![]() |
class function GetHashBytes(const AStream: TStream): TBytes; overload; static; |
|
Hash the given stream and returns it's hash value as TBytes | |
![]() |
class function GetHashBytesFromFile(const AFileName: TFileName): 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): string; overload; static; inline; |
|
Hash the given stream and returns it's hash value as string | |
![]() |
class function GetHashString(const AString: string): string; overload; static; inline; |
|
Hash the given string and returns it's hash value as string | |
![]() |
class function GetHashStringFromFile(const AFileName: TFileName): string; static; inline; |
|
Hash the file with given FileName and returns it's hash value as string | |
![]() |
class function GetHMAC(const AData, AKey: string): string; static; inline; |
|
Gets the string associated to the HMAC authentication | |
![]() |
class function GetHMACAsBytes(const AData: string; const AKey: TBytes): TBytes; overload; static; |
|
This item has no description. | |
![]() |
class function GetHMACAsBytes(const AData: TBytes; const AKey: string): TBytes; overload; static; |
|
This item has no description. | |
![]() |
class function GetHMACAsBytes(const AData, AKey: TBytes): TBytes; overload; static; |
|
This item has no description. | |
![]() |
class function GetHMACAsBytes(const AData, AKey: string): TBytes; overload; static; |
|
Gets the Digest associated to the HMAC authentication | |
![]() |
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; ALength: Cardinal); overload; |
|
Update the Hash value with the given Data. | |
![]() |
procedure Update(const AData: TBytes; ALength: Cardinal = 0); overload; inline; |
|
This item has no description. | |
![]() |
procedure Update(const Input: string); overload; inline; |
|
This item has no description. | |
![]() |
procedure CheckFinalized; |
|
This item has no description. | |
![]() |
procedure Compress; |
|
This item has no description. | |
![]() |
procedure Finalize; |
|
This item has no description. | |
![]() |
procedure Initialize; |
|
This item has no description. | |
![]() |
procedure Update(const AData: PByte; ALength: Cardinal); overload; |
|
This item has no description. | |
Сгенерировал PasDoc 0.16.0-snapshot.

