Record THashMD5
Модуль
Объявления
type THashMD5 = record
Описание
Record to generate MD5 Hash values from data. Stores internal state of the process
Обзор
Nested Types
![]() |
TContextBuffer = array [0..63] of Byte; |
![]() |
TContextState = array [0..15] of Cardinal; |
Поля
![]() |
FContextBuffer: TContextBuffer; |
![]() |
FContextCount: array [0..1] of Cardinal; |
![]() |
FContextState: array [0..3] of Cardinal; |
![]() |
FFinalized: Boolean; |
![]() |
FPadding: TContextBuffer; |
Методы
![]() |
class function Create: THashMD5; 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: TBytes; const AKey: string): TBytes; overload; static; |
![]() |
class function GetHMACAsBytes(const AData: string; const AKey: TBytes): TBytes; overload; static; |
![]() |
class function GetHMACAsBytes(const AData, AKey: string): TBytes; overload; static; |
![]() |
class function GetHMACAsBytes(const AData, AKey: TBytes): TBytes; overload; static; |
![]() |
function HashAsBytes: TBytes; inline; |
![]() |
function HashAsString: string; inline; |
![]() |
function GetDigest: TBytes; |
![]() |
procedure Reset; |
![]() |
procedure Update(const AData; ALength: Cardinal); overload; |
![]() |
procedure Update(const Input: string); overload; inline; |
![]() |
procedure Update(const AData: TBytes; ALength: Cardinal = 0); overload; inline; |
![]() |
procedure Decode(const Dst: PCardinal; const Src: PByte; Len: Integer; AShift: Integer); |
![]() |
procedure Encode(const Dst: PByte; const Src: PCardinal; Len: Integer); |
![]() |
procedure FinalizeHash; |
![]() |
procedure Transform(const ABlock: PByte; AShift: Integer); |
![]() |
procedure Update(const AData: PByte; ALength: Cardinal); overload; |
Описание
Nested Types
![]() |
TContextBuffer = array [0..63] of Byte; |
|
This item has no description. | |
![]() |
TContextState = array [0..15] of Cardinal; |
|
This item has no description. | |
Поля
![]() |
FContextBuffer: TContextBuffer; |
|
This item has no description. | |
![]() |
FContextCount: array [0..1] of Cardinal; |
|
This item has no description. | |
![]() |
FContextState: array [0..3] of Cardinal; |
|
This item has no description. | |
![]() |
FFinalized: Boolean; |
|
This item has no description. | |
![]() |
FPadding: TContextBuffer; |
|
This item has no description. | |
Методы
![]() |
class function Create: THashMD5; static; inline; |
|
Creates an instance to generate MD5 hashes | |
![]() |
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: TBytes; const AKey: string): TBytes; overload; static; |
|
This item has no description. | |
![]() |
class function GetHMACAsBytes(const AData: string; const 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 | |
![]() |
class function GetHMACAsBytes(const AData, AKey: TBytes): 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; |
|
Puts the state machine of the generator in it's initial state. | |
![]() |
procedure Update(const AData; ALength: Cardinal); overload; |
|
Update the Hash with the provided bytes | |
![]() |
procedure Update(const Input: string); overload; inline; |
|
This item has no description. | |
![]() |
procedure Update(const AData: TBytes; ALength: Cardinal = 0); overload; inline; |
|
This item has no description. | |
![]() |
procedure Decode(const Dst: PCardinal; const Src: PByte; Len: Integer; AShift: Integer); |
|
This item has no description. | |
![]() |
procedure Encode(const Dst: PByte; const Src: PCardinal; Len: Integer); |
|
This item has no description. | |
![]() |
procedure FinalizeHash; |
|
This item has no description. | |
![]() |
procedure Transform(const ABlock: PByte; AShift: Integer); |
|
This item has no description. | |
![]() |
procedure Update(const AData: PByte; ALength: Cardinal); overload; |
|
This item has no description. | |
Сгенерировал PasDoc 0.16.0-snapshot.

