core-java
core-java copied to clipboard
Incorrect ChaCha20-Poly1305 example
Both the encrypt and decrypt methods in the ChaCha20Poly1305.java source file must put/get the nonce first. The correct order is determined by RFC 8439 and is required for interoperability.