Skip to main content

Module field

Module field 

Source
Expand description

Field element encoding support.

Functions§

bytes_to_uint
Decode the provided FieldBytes as an integer.
modulus_bits 🔒
uint_to_bytes
Encode the provided integer as FieldBytes.

Type Aliases§

FieldBytes
Byte representation of a base/scalar field element of a given curve.
FieldBytesSize
Size of serialized field elements of this elliptic curve.