Proprietary software by ® Rudoysecurity™

Record THash

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

Модуль

Объявления

type THash = record

Описание

Record with common functionality to all Hash functions

Обзор

Методы

Public class function DigestAsInteger(const ADigest: TBytes): Integer; static;
Public class function DigestAsString(const ADigest: TBytes): string; static;
Public class function DigestAsStringGUID(const ADigest: TBytes): string; static;
Public class function GetRandomString(const ALen: Integer = 10): string; static;
Public class function ToBigEndian(AValue: UInt64): UInt64; overload; static; inline;
Public class function ToBigEndian(AValue: Cardinal): Cardinal; overload; static; inline;

Описание

Методы

Public class function DigestAsInteger(const ADigest: TBytes): Integer; static;

Convert a Digest into an Integer if it's length its four

Public class function DigestAsString(const ADigest: TBytes): string; static;

Convert a Digest into a hexadecimal value string

Public class function DigestAsStringGUID(const ADigest: TBytes): string; static;

Convert a Digest into a GUID if it's length its sixteen

Public class function GetRandomString(const ALen: Integer = 10): string; static;

Gets a random string with the given length

Public class function ToBigEndian(AValue: UInt64): UInt64; overload; static; inline;

Gets the BigEndian memory representation of a UInt64 value

Public class function ToBigEndian(AValue: Cardinal): Cardinal; overload; static; inline;

Gets the BigEndian memory representation of a cardinal value

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