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 week ago (0.7.3)
type alias RandFn

Secure PRNG function like 'randomBytes' from '@noble/hashes/utils'

Definition

(bytes: number) => Uint8Array

Add Package

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

Import symbol

import { type RandFn } from "@paulmillr/micro-key-producer/bls.js";

---- OR ----

Import directly with a jsr specifier

import { type RandFn } from "jsr:@paulmillr/micro-key-producer/bls.js";

Add Package

npx jsr add @paulmillr/micro-key-producer

Import symbol

import { type RandFn } from "@paulmillr/micro-key-producer/bls.js";

Add Package

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

Import symbol

import { type RandFn } from "@paulmillr/micro-key-producer/bls.js";

Add Package

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

Import symbol

import { type RandFn } from "@paulmillr/micro-key-producer/bls.js";

Add Package

bunx jsr add @paulmillr/micro-key-producer

Import symbol

import { type RandFn } from "@paulmillr/micro-key-producer/bls.js";