Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

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

Get value of i-th bit

Parameters

x: bigint
i: number
  • Bit index