scalar: {
add: (x: Uint8Array, y: Uint8Array) => Uint8Array;
complement: (x: Uint8Array) => Uint8Array;
invert: (x: Uint8Array) => Uint8Array<ArrayBufferLike> | undefined;
mul: (x: Uint8Array, y: Uint8Array) => Uint8Array;
negate: (x: Uint8Array) => Uint8Array;
sub: (x: Uint8Array, y: Uint8Array) => Uint8Array;
} = ...
Type Declaration
-
add: (x: Uint8Array, y: Uint8Array) => Uint8Array
-
complement: (x: Uint8Array) => Uint8Array
-
invert: (x: Uint8Array) => Uint8Array<ArrayBufferLike> | undefined
-
mul: (x: Uint8Array, y: Uint8Array) => Uint8Array
-
negate: (x: Uint8Array) => Uint8Array
-
sub: (x: Uint8Array, y: Uint8Array) => Uint8Array
the arithmetic over the group order, on 32-byte little-endian scalars