core-java icon indicating copy to clipboard operation
core-java copied to clipboard

Incorrect ChaCha20-Poly1305 example

Open andbi opened this issue 1 year ago • 0 comments

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.

andbi avatar Dec 04 '24 09:12 andbi