Package com.neilalexander.jnacl.crypto
Class poly1305
java.lang.Object
com.neilalexander.jnacl.crypto.poly1305
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intcrypto_onetimeauth(byte[] outv, int outvoffset, byte[] inv, int invoffset, long inlen, byte[] k) static intcrypto_onetimeauth_verify(byte[] h, int hoffset, byte[] inv, int invoffset, long inlen, byte[] k)
-
Constructor Details
-
poly1305
public poly1305()
-
-
Method Details
-
crypto_onetimeauth_verify
public static int crypto_onetimeauth_verify(byte[] h, int hoffset, byte[] inv, int invoffset, long inlen, byte[] k) -
crypto_onetimeauth
public static int crypto_onetimeauth(byte[] outv, int outvoffset, byte[] inv, int invoffset, long inlen, byte[] k)
-