Privacy and Encryption Layer

Noise Protocol and Zero-Knowledge Proofs

🔐 Privacy and Encryption Layer

In broadcast-based networks, all signals are physically public. To protect user privacy, Butterfly integrates the Noise protocol framework.

🛡 Cryptographic Primitives

  • Key Exchange: using X25519, suitable for the limited computing power of mobile devices.

  • Authentication: using Ed25519 digital signatures.

  • Symmetric Encryption: payload data is encrypted with AES-256-GCM .

  • Handshake Pattern: provides mutual authentication and Forward Secrecy (forward secrecy).

👻 Nostr Protocol Integration

We draw on Nostr's NIP-17 (Gift Wrap) standard.

Users' profiles, chat histories, and PoC credentials follow the "Local-First" principle and are stored locally, with optional backups on IPFS fully controlled by the user's private key.

Last updated