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

x/hpke/src/utils/bignum.ts>Bignum

A Hybrid Public Key Encryption (HPKE) module built on top of Web Cryptography API.
Latest
class Bignum
import { Bignum } from "https://deno.land/x/hpke@1.2.9/src/utils/bignum.ts";

The minimum inplementation of bignum to derive an EC key pair.

Constructors

new
Bignum(size: number)

Properties

private
_num: Uint8Array

Methods

isZero(): boolean
lessThan(v: Uint8Array): boolean
set(src: Uint8Array)
val(): Uint8Array