Java 11 – ChaCha20 encryption examples
In this article, we will show you how to encrypt and decrypt a message with the ChaCha20 stream cipher, defined in RFC 7539. P.S ChaCha20 stream cipher is available at Java 11, refer to JEP 329. Note You may interest at this ChaCha20-Poly1305 encryption examples 1. How it works? 1.1 The inputs to ChaCha20 encryption …