Class TweetNaclFast

java.lang.Object
com.iwebpp.crypto.TweetNaclFast

public final class TweetNaclFast extends Object
  • Constructor Details

    • TweetNaclFast

      public TweetNaclFast()
  • Method Details

    • crypto_verify_16

      public static int crypto_verify_16(byte[] x, byte[] y)
    • crypto_verify_32

      public static int crypto_verify_32(byte[] x, byte[] y)
    • crypto_core_salsa20

      public static int crypto_core_salsa20(byte[] out, byte[] in, byte[] k, byte[] c)
    • crypto_core_hsalsa20

      public static int crypto_core_hsalsa20(byte[] out, byte[] in, byte[] k, byte[] c)
    • crypto_stream_salsa20

      public static int crypto_stream_salsa20(byte[] c, int cpos, long b, byte[] n, byte[] k)
    • crypto_stream

      public static int crypto_stream(byte[] c, int cpos, long d, byte[] n, byte[] k)
    • crypto_stream_xor

      public static int crypto_stream_xor(byte[] c, int cpos, byte[] m, int mpos, long d, byte[] n, byte[] k)
    • crypto_onetimeauth

      public static int crypto_onetimeauth(byte[] out, byte[] m, int n, byte[] k)
    • crypto_onetimeauth_verify

      public static int crypto_onetimeauth_verify(byte[] h, byte[] m, int n, byte[] k)
    • crypto_onetimeauth_verify

      public static int crypto_onetimeauth_verify(byte[] h, byte[] m, byte[] k)
    • crypto_secretbox

      public static int crypto_secretbox(byte[] c, byte[] m, int d, byte[] n, byte[] k)
    • crypto_secretbox_open

      public static int crypto_secretbox_open(byte[] m, byte[] c, int d, byte[] n, byte[] k)
    • crypto_scalarmult

      public static int crypto_scalarmult(byte[] q, byte[] n, byte[] p)
    • crypto_scalarmult_base

      public static int crypto_scalarmult_base(byte[] q, byte[] n)
    • crypto_box_keypair

      public static int crypto_box_keypair(byte[] y, byte[] x)
    • crypto_box_beforenm

      public static int crypto_box_beforenm(byte[] k, byte[] y, byte[] x)
    • crypto_box_afternm

      public static int crypto_box_afternm(byte[] c, byte[] m, int d, byte[] n, byte[] k)
    • crypto_box_open_afternm

      public static int crypto_box_open_afternm(byte[] m, byte[] c, int d, byte[] n, byte[] k)
    • crypto_box

      public static int crypto_box(byte[] c, byte[] m, int d, byte[] n, byte[] y, byte[] x)
    • crypto_box_open

      public static int crypto_box_open(byte[] m, byte[] c, int d, byte[] n, byte[] y, byte[] x)
    • crypto_hash

      public static int crypto_hash(byte[] out, byte[] m, int moff, int n)
    • crypto_hash

      public static int crypto_hash(byte[] out, byte[] m)
    • crypto_sign_keypair

      public static int crypto_sign_keypair(byte[] pk, byte[] sk, boolean seeded)
    • crypto_sign

      public static int crypto_sign(byte[] sm, long dummy, byte[] m, int moff, int n, byte[] sk)
    • crypto_sign_open

      public static int crypto_sign_open(byte[] m, long dummy, byte[] sm, int smoff, int n, byte[] pk)
    • randombytes

      public static byte[] randombytes(byte[] x)
    • randombytes

      public static byte[] randombytes(int len)
    • randombytes

      public static byte[] randombytes(byte[] x, int len)
    • makeBoxNonce

      public static byte[] makeBoxNonce()
    • makeSecretBoxNonce

      public static byte[] makeSecretBoxNonce()
    • hexEncodeToString

      public static String hexEncodeToString(byte[] raw)
    • hexDecode

      public static byte[] hexDecode(String s)