74 object Obj =
Arguments[0].AssociatedObjectValue;
75 if (!(Obj is
byte[] PrivateKey))
76 PrivateKey = Convert.FromBase64String(Obj?.
ToString());
82 if (!HashKey.HasValue)
Creates an Edwards25519 Elliptic curve.
override string FunctionName
Name of the function
override IElement Evaluate(IElement[] Arguments, Variables Variables)
Evaluates the function.
override string[] DefaultArgumentNames
Default Argument names
Ed25519(ScriptNode PrivateKey, int Start, int Length, Expression Expression)
Creates an Edwards25519 Elliptic curve.
Ed25519(int Start, int Length, Expression Expression)
Creates an Edwards25519 Elliptic curve.
Ed25519(ScriptNode PrivateKey, ScriptNode HashKey, int Start, int Length, Expression Expression)
Creates an Edwards25519 Elliptic curve.
Script runtime exception.
Class managing a script expression.
Base class for multivariate funcions.
ScriptNode[] Arguments
Function arguments.
static readonly ArgumentType[] argumentTypes0
Zero parameters.
static readonly ArgumentType[] argumentTypes1Normal
One scalar parameter.
Base class for all nodes in a parsed script tree.
static ? bool ToBoolean(IElement Value)
Tries to convert an element to a boolean value.
int Length
Length of expression covered by node.
override string ToString()
Expression Expression
Expression of which the node is a part.
int Start
Start position in script expression.
Edwards25519 Elliptic Curve, as defined in RFC7748 and RFC8032: https://tools.ietf....
Basic interface for all types of elements.
ArgumentType
Type of parameter used in a function definition or a lambda definition.