Class SecretBox

java.lang.Object
com.pusher.rest.crypto.nacl.SecretBox

public class SecretBox extends Object
SecretBox class controls access to TweetNaclFast to prevent users from reaching out to TweetNaclFast. TweetNaclFast must stay package private.
  • Constructor Details

  • Method Details

    • box

      public static Map<String,byte[]> box(byte[] key, byte[] message)
    • open

      public static byte[] open(byte[] key, byte[] nonce, byte[] cipher)