Hierarchy

  • FiniteField

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    • red: string | number | bigint | BN
    • en: Endianness

    Returns FiniteField

Properties

en: Endianness
red: ReductionContext

Accessors

Methods

  • Normalize the value to the finite field

    Returns

    Parameters

    • value: string | number | bigint | BN | Uint8Array
    • len: number = SUPPORTED_GROUP_LEN

    Returns FBN

  • Randomize a value in the finite field

    Returns

    Parameters

    • len: number = SUPPORTED_GROUP_LEN

    Returns FBN

Generated using TypeDoc