Fetches the GroupContext used by this element.
Validate that the element is actually within the bounds of [0,max). Returns true if all is good, false if something's wrong.
Validate that the element is actually within the bounds of [1,max). Returns true if all is good, false if something's wrong.
Returns whether the element is zero.
Converts from the internal representation to a regular JS bigint.
Converts from the internal representation to a big-endian Uint8Array.
Returns a hexidecimal representation of the element.
Generated using TypeDoc
General-purpose holder of elements in [0, Q). The constructor and concrete type are not exposed. Instead use the helper functions, like {@link GroupContext[createElementModQ]}, which will check for errors.