Record THashFNV1a32
Модуль
Объявления
type THashFNV1a32 = record
Описание
Record to generate FNV1a 32-bit Hash values from data. Stores internal state of the process
Обзор
Поля
![]() |
FHash: Cardinal; |
![]() |
nested const FNV_PRIME = $01000193; |
![]() |
nested const FNV_SEED = $811C9DC5; |
Методы
![]() |
class function Create: THashFNV1a32; static; |
![]() |
class function GetHashBytes(const AData: string): TBytes; static; |
![]() |
class function GetHashString(const AString: RawByteString): string; overload; static; |
![]() |
class function GetHashString(const AString: string): string; overload; static; |
![]() |
class function GetHashValue(const AData; ALength: Cardinal; AInitialValue: Cardinal = FNV_SEED): Integer; overload; static; inline; |
![]() |
class function GetHashValue(const AData: RawByteString): Integer; overload; static; inline; |
![]() |
class function GetHashValue(const AData: string): Integer; overload; static; inline; |
![]() |
function HashAsBytes: TBytes; |
![]() |
function HashAsInteger: Integer; |
![]() |
function HashAsString: string; |
![]() |
function GetDigest: TBytes; |
![]() |
class function Hash(const Data; Len, InitVal: Cardinal): Cardinal; static; |
![]() |
procedure Reset(AInitialValue: Cardinal = FNV_SEED); |
![]() |
procedure Update(const Input: string); overload; inline; |
![]() |
procedure Update(const AData: TBytes; ALength: Cardinal = 0); overload; inline; |
![]() |
procedure Update(const AData; ALength: Cardinal); overload; inline; |
Описание
Поля
![]() |
FHash: Cardinal; |
|
This item has no description. | |
![]() |
nested const FNV_PRIME = $01000193; |
|
16777619 | |
![]() |
nested const FNV_SEED = $811C9DC5; |
|
2166136261 | |
Методы
![]() |
class function Create: THashFNV1a32; static; |
|
Initialize the Record used to calculate the FNV1a Hash | |
![]() |
class function GetHashBytes(const AData: string): TBytes; static; |
|
Hash the given string and returns it's hash value as integer | |
![]() |
class function GetHashString(const AString: RawByteString): string; overload; static; |
|
This item has no description. | |
![]() |
class function GetHashString(const AString: string): string; overload; static; |
|
Hash the given string and returns it's hash value as string | |
![]() |
class function GetHashValue(const AData; ALength: Cardinal; AInitialValue: Cardinal = FNV_SEED): Integer; overload; static; inline; |
|
Hash the given Data and returns it's hash value as integer | |
![]() |
class function GetHashValue(const AData: RawByteString): Integer; overload; static; inline; |
|
This item has no description. | |
![]() |
class function GetHashValue(const AData: string): Integer; overload; static; inline; |
|
Hash the given string and returns it's hash value as integer | |
![]() |
function HashAsBytes: TBytes; |
|
Returns the hash value as a TBytes | |
![]() |
function HashAsInteger: Integer; |
|
Returns the hash value as integer | |
![]() |
function HashAsString: string; |
|
Returns the hash value as string | |
![]() |
function GetDigest: TBytes; |
|
This item has no description. | |
![]() |
class function Hash(const Data; Len, InitVal: Cardinal): Cardinal; static; |
|
This item has no description. | |
![]() |
procedure Reset(AInitialValue: Cardinal = FNV_SEED); |
|
Puts the state machine of the generator in it's initial state. | |
![]() |
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 Update(const AData; ALength: Cardinal); overload; inline; |
|
Update the Hash value with the given Data. | |
Сгенерировал PasDoc 0.16.0-snapshot.

