Class NaCl
java.lang.Object
com.neilalexander.jnacl.NaCl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringasHex(byte[] buf) static StringasHex(int[] buf) byte[]decrypt(byte[] input, byte[] nonce) byte[]decrypt(byte[] input, int inputlength, byte[] nonce) byte[]encrypt(byte[] input, byte[] nonce) byte[]encrypt(byte[] input, int inputlength, byte[] nonce) static byte[]
-
Constructor Details
-
NaCl
-
NaCl
-
-
Method Details
-
encrypt
public byte[] encrypt(byte[] input, byte[] nonce) -
encrypt
public byte[] encrypt(byte[] input, int inputlength, byte[] nonce) -
decrypt
public byte[] decrypt(byte[] input, byte[] nonce) -
decrypt
public byte[] decrypt(byte[] input, int inputlength, byte[] nonce) -
getBinary
-
asHex
-
asHex
-