60 object Obj =
Arguments[0].AssociatedObjectValue;
61 if (!(Obj is
byte[] PrivateKey))
62 PrivateKey = Convert.FromBase64String(Obj?.
ToString());
Creates an Curve25519 Elliptic curve.
override string FunctionName
Name of the function
X25519(int Start, int Length, Expression Expression)
Creates an Curve25519 Elliptic curve.
X25519(ScriptNode PrivateKey, int Start, int Length, Expression Expression)
Creates an Curve25519 Elliptic curve.
override string[] DefaultArgumentNames
Default Argument names
override IElement Evaluate(IElement[] Arguments, Variables Variables)
Evaluates the function.
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.
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.
Curve25519, as defined in RFC 7748: https://tools.ietf.org/html/rfc7748
Basic interface for all types of elements.