Class NaCl

java.lang.Object
com.neilalexander.jnacl.NaCl

public class NaCl extends Object
  • Constructor Details

  • 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

      public static byte[] getBinary(String s)
    • asHex

      public static String asHex(byte[] buf)
    • asHex

      public static String asHex(int[] buf)