This guide walks you through how to use the KeyWallet's Shared Secret Key Exchange (SSKE) tool to securely exchange encrypted secrets between two parties (e.g., buyer - recipient of the secrets and seller - sender of the secret).
SSKE vs. Simple Encryption (Why It Matters)
Encrypting a message with a shared password (e.g., AES + a passphrase) is not a secure protocol. KeyWallet's SSKE addresses these core problems.
- No Password Sharing: SSKE does not rely on weak passphrases. Keys are derived securely using Nexa's libnexa-ts. KeyWallet uses ECDH via secp256k1 for key exchange and AES for secret encryption.
- Authenticity: The payload hash should be successfully verified to ensure the integrity of the communication.
- Public Sharing is Safe: SSKE payloads can be posted publicly - only the buyer can decrypt them.