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.
override string FunctionName
Name of the function
Sha1HMac(ScriptNode Data, ScriptNode Key, int Start, int Length, Expression Expression)
Sha1HMac(Data)
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[] ComputeHMACSHA1Hash(byte[] Key, byte[] Data)
Computes the HMAC-SHA-1 hash of a block of binary data.
Basic interface for all types of elements.