UNPKG

@turnkey/crypto

Version:

Encryption, decryption, and key related utility functions

9 lines 284 B
/** * Compute the modular square root using the Tonelli-Shanks algorithm. */ export declare const modSqrt: (x: bigint, p: bigint) => bigint; /** * Test if a specific bit is set. */ export declare const testBit: (n: bigint, i: number) => boolean; //# sourceMappingURL=math.d.ts.map