tweetnacl-java

TweetNacl in Java: port of tweetnacl-js

Java CI

API/Usage

Suggest always use TweetNaclFast implementation

Public key authenticated encryption

As an alternative, the nonce can be omitted from the Box() call, and passed in the box and open calls, like:

Secret key authenticated encryption

As an alternative, the nonce can be omitted from the SecretBox() call, and passed in the box and open calls, like:

Signature

Hash

Refer to com.iwebpp.crypto.tests for details

About Random generation

Testing

In top directory:

$ mvn test

Support us

License MIT