2using System.Collections.Generic;
43 if (!(
Argument1.AssociatedObjectValue is
byte[] Data))
46 if (!(
Argument2.AssociatedObjectValue is
byte[] Key))
override IElement Evaluate(IElement Argument1, IElement Argument2, Variables Variables)
Evaluates the function.
Sha2_512HMac(ScriptNode Data, ScriptNode Key, int Start, int Length, Expression Expression)
Sha2_512HMac(Data)
override string FunctionName
Name of the function
Script runtime exception.
Class managing a script expression.
Base class for funcions of one variable.
ScriptNode Argument2
Function argument 2.
ScriptNode Argument1
Function argument 1.
Base class for all nodes in a parsed script tree.
int Length
Length of expression covered by node.
int Start
Start position in script expression.
Contains methods for simple hash calculations.
static byte[] ComputeHMACSHA512Hash(byte[] Key, byte[] Data)
Computes the HMAC-SHA-512 hash of a block of binary data.
Basic interface for all types of elements.