UNPKG

abgp-js-modules-crypto-plain

Version:

ABGP crypto module (plain)

5 lines (4 loc) 285 B
export declare const mod: (a: bigint, b?: bigint) => bigint; export declare const addMod: (hash1: string, hash2: string) => string; export declare const invert: (number: bigint, modulo?: bigint) => bigint; export declare const powMod: (x: bigint, n: bigint, p?: bigint) => bigint;