System.Hash.THashMD5.GetHMAC

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function GetHMAC(const AData, AKey: string): string; static; inline;

C++

static System::UnicodeString __fastcall GetHMAC(const System::UnicodeString AData, const System::UnicodeString AKey);

Properties

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

Description

Returns the value of the HMAC-suitable hash digest as a String.

GetHMAC accepts the following parameters:

  • AData: The source data for hash digest.
  • AKey: The secret key.

For more information on HMAC, see Hash-based message authentication code.

See Also