System.Hash.THashSHA1.GetHMAC

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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 THashSHA1

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