Skip to main content
This release is 2 versions behind 0.7.5 — the latest version of @paulmillr/micro-key-producer. Jump to latest

Built and signed on GitHub Actions

Produces secure keys and passwords. Supports SSH, PGP, BLS, OTP, and many others.

This package works with Node.js, Deno, Bun, BrowsersIt is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
70%
Published
a month ago (0.7.3)
class HDKey

Constructors

new
HDKey(opt: HDKeyOpt)

Properties

Methods

derive(
path: string,
forceHardened?: boolean,
): HDKey
sign(message: Hex): Uint8Array
verify(
message: Hex,
signature: Hex,
): boolean

Static Methods

Add Package

deno add jsr:@paulmillr/micro-key-producer

Import symbol

import { HDKey } from "@paulmillr/micro-key-producer/slip10.js";

---- OR ----

Import directly with a jsr specifier

import { HDKey } from "jsr:@paulmillr/micro-key-producer/slip10.js";

Add Package

npx jsr add @paulmillr/micro-key-producer

Import symbol

import { HDKey } from "@paulmillr/micro-key-producer/slip10.js";

Add Package

yarn dlx jsr add @paulmillr/micro-key-producer

Import symbol

import { HDKey } from "@paulmillr/micro-key-producer/slip10.js";

Add Package

pnpm dlx jsr add @paulmillr/micro-key-producer

Import symbol

import { HDKey } from "@paulmillr/micro-key-producer/slip10.js";

Add Package

bunx jsr add @paulmillr/micro-key-producer

Import symbol

import { HDKey } from "@paulmillr/micro-key-producer/slip10.js";