TweetNaCl in Java - a port of TweetNaCl-js
implementation "io.github.instantwebp2p:tweetnacl-java:1.1.2"
As an alternative, the nonce can be omitted from the Box() call, and passed in the box and open calls, like:
As an alternative, the nonce can be omitted from the SecretBox() call, and passed in the box and open calls, like:
In top directory:
$ mvn test