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

x/libauth/src/lib/key/key-utils.ts

An ultra-lightweight, zero-dependency JavaScript library for Bitcoin Cash, Bitcoin, and Bitauth applications.
Go to Latest
import * as libauth from "https://deno.land/x/libauth@v2.0.0-alpha.6/src/lib/key/key-utils.ts";

Variables

Securely generate a valid Secp256k1 private key given a secure source of randomness.

Verify that a private key is valid for the Secp256k1 curve. Returns true for success, or false on failure.