Protect bytes with the RFC 8439 ChaCha20-Poly1305 construction.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
ChaCha20 generates a keystream from a 256-bit key and nonce, plaintext is XORed with it, and Poly1305 authenticates ciphertext plus additional data; the tag is appended. Verification requires the original nonce and key.
Input: Top secret data Key: MySecretKey123!
yDvmSBPD2nfyrFVN3jHjGLr8ZsL8WuUD8qOvqj6WRrUSJH+EPWiH8sP01m3sSmDZ1WFabxGWtT5kDYg=
Mobile protocols, token storage, and AEAD test vectors use this construction.