nostr-websocket-utils v0.3.0
nostr-websocket-utils / decodePrivkey
decodePrivkey(nsec): string
nsec
string
Decode a bech32 nsec to hex privkey
nips/nip-19.ts:57