49 throw new ArgumentOutOfRangeException(nameof(NrBytes),
"Must be at least 16.");
52 throw new ArgumentOutOfRangeException(nameof(NrBuckets),
"Must be non-negative.");
Static class that does BASE64URL encoding (using URL and filename safe alphabet), as defined in RFC46...
static string Encode(byte[] Data)
Converts a binary block of data to a Base64URL-encoded string.
Static class managing the runtime environment of the IoT Gateway.
static byte[] NextBytes(int NrBytes)
Generates an array of random bytes.
Creates a random password.
override IElement Evaluate(Variables Variables)
Evaluates the function.
override string FunctionName
Name of the function
RandomPassword(int Start, int Length, Expression Expression)
Creates a random password.
override bool IsAsynchronous
If the node (or its decendants) include asynchronous evaluation. Asynchronous nodes should be evaluat...
static string CreateRandomPassword(int NrBytes, int NrBuckets)
Creates a random password.
static string CreateRandomPassword()
Creates a random password having approximately 255 bits of entropy.
Class managing a script expression.
static double CalcMin(double[] Values, ScriptNode Node)
Returns the smallest value.
Base class for funcions of zero variables.
int Length
Length of expression covered by node.
int Start
Start position in script expression.
Computes a histogram from a set of data.
static double[] Compute(double[] Data, int N, double Min, double Max)
Computes a Histogram over an array of floating-point values.
Basic interface for all types of elements.