nostrgen

Generate a Nostr keypair from a passphrase or at random. All computation happens in your browser β€” nothing is sent to any server.

What is Nostr?
πŸ”‘
Your keypair is your identity. No username registration, no email, no phone number. Just a private key and the public key it generates.
πŸ“‘
Relays are simple servers that store and forward your signed messages. You connect to multiple relays β€” if one goes down, your data is still on the others.
✍️
Everything you publish is signed by your private key. Anyone can verify it came from you. Nobody can fake your posts.
πŸ”“
Your npub is your public address β€” share it freely. Your nsec is your private key β€” guard it like a password. Anyone with your nsec controls your identity.
Generate Keypair
A passphrase generates the same keypair every time β€” useful if you want a reproducible key you can regenerate from memory. Use a long, unique passphrase. The same passphrase always gives the same keys.
Adding a salt means even if someone knows your passphrase, they can't derive the key without the salt. Think of it as a second secret word.
⚠ Keep your nsec private. Anyone who has it controls your Nostr identity permanently. There is no recovery if you lose it or share it. Write it down and store it safely offline.
Your Keypair
Private Key (nsec) β€” KEEP SECRET
β€”
Hex format (privkey)
β€”
⚠ Same secret as the nsec, different encoding. Treat with the same care.
Public Key (npub) β€” Share freely
β€”
Hex pubkey β€” needed for relay whitelists (e.g. pubkey_whitelist)
β€”
Most relays use bech32 (npub1...) for display, but their config files (e.g. nostr-rs-relay's config.toml) need the 64-char lowercase hex form. Same key, different encoding.
Test Your Keys

Log into any of these Nostr clients using your nsec to verify your keypair works. Your profile will appear with your npub as your address.

Mobile: Damus (iOS) Β· Amethyst (Android). Look for "Login with nsec" or "Import key" in each client.

Use with v4call
Add your npub to your v4call rates post on Hive to link your Nostr identity to your v4call profile. This allows v4call servers to discover you via Nostr in the future.
[V4CALL-RATES-V2]
ACCOUNT:yourusername
CHAIN:hive
NOSTR:generate a key above to see your npub here
SERVER:v4call.com
...
Learn More
Nostr resources:
nostr.com β€” official intro and client list
github.com/nostr-protocol/nostr β€” the protocol spec (NIPs)
nostr.how β€” beginner guide

v4call + Nostr:
completenoobs.com β€” v4call setup guides and wiki