list of errors
Flattens a 2D array into a 1D array. We need this custom function as flatMap is not supported yet in ES027
Type predicate that returns whether the object is an error and narrows the type to either an error or the alternative type in a nested code block.
obj we want to differentiate the type of
Type predicate that returns whether the object is null and narrows the type to either as null or the alternative type in a nested code block.
obj we want to differentiate the type of
Returns the string without any spaces
input string
Receives a string of a number in decimal base and returns it as a byte array.
A decimal large integer number either as a string or as a native typescript number.
Converts a number as a string into a byte tree of the correct size.
A decimal large integer number either as a string or as a native typescript number
Receives a string of a number in decimal base and returns it in hexadecimal base, also as a string.
A decimal large integer number either as a string or as a native typescript number.
Converts a number as a string into a ModPGroupElement.
A decimal large integer number either as a string or as a native typescript number.
The multiplicative modular group to be used.
Converts a number as a string into a PRingElement.
A decimal large integer number either as a string or as a native typescript number.
The ring to be used.
Generated using TypeDoc
Returns the first error of the list or an empty error, but always an error. This is useful if we have a lot of errors, to get the first of them.