UNPKG

crypto-keygen-suite

Version:

Key generation utilities for cryptographic operations. YES I RENAMED IT OMG BASES AND PROTOCOLS!!! See its folder for all <3

13 lines (10 loc) 298 B
import * as ed from '@noble/ed25519'; async function generateSingleKey() { const privateKey = ed.utils.randomPrivateKey(); return privateKey; } async function main() { const singleKey = await generateSingleKey(); console.log('Single Key (RAW):', singleKey); } main();