Skip to content

Introduction to Basic Hello Nostr

Signing Messages in Nostr

Nostr uses public-key cryptography. You will use:

  1. A private key (nsec or hex) to sign messages.
  2. A public key (npub or hex) to verify messages.

How it works

  • The private key is used to create a cryptographic signature for your message.
  • This signature proves that the message is authentic and was sent by you.
  • The public key is used by others to verify that the signature is valid and the message hasn’t been altered.

Think of the private key like a stamp that only you have, and the public key like an ID card that others use to check the authenticity of the message.