Proprietary software by ® Rudoysecurity™

Record THashBobJenkins

Иерархия
Свойства

Модуль

Объявления

type THashBobJenkins = record

Описание

Record to generate BobJenkins Hash values from data. Stores internal state of the process

Обзор

Поля

Private FHash: Integer;

Методы

Public class function Create: THashBobJenkins; static;
Public class function GetHashBytes(const AData: string): TBytes; static;
Public class function GetHashString(const AString: string): string; static;
Public class function GetHashValue(const AData: string): Integer; overload; static; inline;
Public class function GetHashValue(const AData; ALength: Integer; AInitialValue: Integer = 0): Integer; overload; static; inline;
Public function HashAsBytes: TBytes;
Public function HashAsInteger: Integer;
Public function HashAsString: string;
Private function GetDigest: TBytes;
Private class function HashLittle(const Data; Len, InitVal: Integer): Integer; static;
Public procedure Reset(AInitialValue: Integer = 0);
Public procedure Update(const AData; ALength: Cardinal); overload; inline;
Public procedure Update(const AData: TBytes; ALength: Cardinal = 0); overload; inline;
Public procedure Update(const Input: string); overload; inline;

Описание

Поля

Private FHash: Integer;

This item has no description.

Методы

Public class function Create: THashBobJenkins; static;

Initialize the Record used to calculate the BobJenkins Hash

Public class function GetHashBytes(const AData: string): TBytes; static;

Hash the given string and returns it's hash value as integer

Public class function GetHashString(const AString: string): string; static;

Hash the given string and returns it's hash value as string

Public class function GetHashValue(const AData: string): Integer; overload; static; inline;

Hash the given string and returns it's hash value as integer

Public class function GetHashValue(const AData; ALength: Integer; AInitialValue: Integer = 0): Integer; overload; static; inline;

Hash the given Data and returns it's hash value as integer

Public function HashAsBytes: TBytes;

Returns the hash value as a TBytes

Public function HashAsInteger: Integer;

Returns the hash value as integer

Public function HashAsString: string;

Returns the hash value as string

Private function GetDigest: TBytes;

This item has no description.

Private class function HashLittle(const Data; Len, InitVal: Integer): Integer; static;

This item has no description.

Public procedure Reset(AInitialValue: Integer = 0);

Puts the state machine of the generator in it's initial state.

Public procedure Update(const AData; ALength: Cardinal); overload; inline;

Update the Hash value with the given Data.

Public procedure Update(const AData: TBytes; ALength: Cardinal = 0); overload; inline;

This item has no description.

Public procedure Update(const Input: string); overload; inline;

This item has no description.

© Andrey Igorevich Rudoy, 2005-2025 jear
Сгенерировал PasDoc 0.16.0-snapshot.