ChaCha20-Poly1305 authenticated string encryption with a random key


Important note: this program is doing what it promises but the programming itself is of very poor quality and for demonstration purposes only. Never ever use this program as source for your own programs because there are a lot of conversions to get it run.

Get more information about this program on my webpage ChaCha20-Poly105 authenticated string encryption


Encryption

For encryption you need your encryption key in Base64 encoding.

Insert your encryption key (in Base64 encoding):


or

Insert the string you like to encrypt:

press the encrypt button to proceed:

encrypted (ciphertext) in Base64 encoding:


The output is (Base64) nonce : (Base64) ciphertext

Decryption

For decryption you need encryption key in Base64 encoding.

Insert your encryption key (in Base64 encoding):

Insert the ciphertext you like to decrypt or press the "sample data" button:




The input is (Base64) nonce : (Base64) ciphertext

press the decrypt button to proceed:

decrypted plaintext:


Technical note: this program uses the ChaCha20 cipher for encryption and Poly1305 MAC for authenticated encryption.