Show: Delphi C++
Display Preferences

System.Hash.THashSHA1.GetHashBytes

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function GetHashBytes(const AData: string): TBytes; overload; static;
class function GetHashBytes(const AStream: TStream): TBytes; overload; static;

C++

static System::DynamicArray<System::Byte> __fastcall GetHashBytes(const System::UnicodeString AData)/* overload */;
static System::DynamicArray<System::Byte> __fastcall GetHashBytes(System::Classes::TStream* const AStream)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.Hash.pas
System.Hash.hpp
System.Hash THashSHA1

Description

Creates a hash digest from the specified input value and returns the value of the created digest as bytes.

GetHashBytes accepts one of the following as the input value:

  • AData: A string.
  • AStream: A stream.

See Also

Personal tools
RAD Studio 10.2 Tokyo
In Other Languages
Previous Versions
Assistance