Skip to main content
Module

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

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

Compute modular exponentiation using square and multiply

Parameters

b: bigint
  • Base
e: bigint
  • Exponent
n: bigint
  • Modulo