TwitterGitHubFacebookLinkedIn

TweetNaCl

Generate key pair using TweetNaCl.

No key is stored or sent to the server.

Client

Public key:NA
Private key:NA

Server

Public key:NA
Private key:NA

Use case

If you want to securly transfer data between client and server, you can use this key pair to encrypt and decrypt data. If the payload is encrypted using client's public key, it can only be decrypted using client's private key. So, even if a person opens network tab and sees the payload, it will be encrypted and can't be decrypted without private key.

TweetNaCl is a compact and portable cryptographic library, designed as a minimal implementation of Daniel J. Bernstein's NaCl (Networking and Cryptography library).
True to its name, the entire library can fit within 100 tweets (hence "Tweet" NaCl), making it one of the smallest secure cryptographic libraries available.