System.Hash.THash

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

THash = record

C++

struct DECLSPEC_DRECORD THash
{
public:
#ifndef _WIN64
    static int __fastcall DigestAsInteger(const System::DynamicArray<System::Byte> ADigest);
    static System::UnicodeString __fastcall DigestAsString(const System::DynamicArray<System::Byte> ADigest);
    static System::UnicodeString __fastcall DigestAsStringGUID(const System::DynamicArray<System::Byte> ADigest);
#else /* _WIN64 */
    static int __fastcall DigestAsInteger(const System::TArray__1<System::Byte> ADigest);
    static System::UnicodeString __fastcall DigestAsString(const System::TArray__1<System::Byte> ADigest);
    static System::UnicodeString __fastcall DigestAsStringGUID(const System::TArray__1<System::Byte> ADigest);
#endif /* _WIN64 */
    static System::UnicodeString __fastcall GetRandomString(const int ALen = 0xa);
    static unsigned __fastcall ToBigEndian(unsigned AValue)/* overload */;
    static unsigned __int64 __fastcall ToBigEndian(unsigned __int64 AValue)/* overload */;
};

Properties

Type Visibility Source Unit Parent
record
struct
public
System.Hash.pas
System.Hash.hpp
System.Hash System.Hash

Description

A record that implements the common methods for all hash types.

THash provides the following methods:

See Also