Skip to main content
Module

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

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

Get Uint8Array representation of this number

Parameters

x: bigint
  • Endianess of output array (defaults to 'be')
optional
endian = [UNSUPPORTED]
  • Of output array
length: number