Constructors
constructor
- new FiniteField(red: string | number | bigint | BN, en: Endianness): FiniteField
-
Parameters
-
red: string | number | bigint | BN
-
en: Endianness
Properties
Readonly
en
en: Endianness
red
red: ReductionContext
Methods
norm
- norm(value: string | number | bigint | BN | Uint8Array, len?: number): FBN
-
Parameters
-
value: string | number | bigint | BN | Uint8Array
-
len: number = SUPPORTED_GROUP_LEN
Returns FBN
rand
- rand(len?: number): FBN
-
Parameters
-
len: number = SUPPORTED_GROUP_LEN
Returns FBN
Constants