Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/openpgp/src/crypto/biginteger.ts>modInv

OpenPGP implementation for JavaScript
Go to Latest
function modInv
import { modInv } from "https://deno.land/x/openpgp@v6.0.0-beta.1/src/crypto/biginteger.ts";

Compute the inverse of a modulo n Note: a and and n must be relatively prime

Parameters

a: bigint
n: bigint
  • Modulo