Class SecretBox.Checker

java.lang.Object
com.goterl.lazysodium.utils.BaseChecker
com.goterl.lazysodium.interfaces.SecretBox.Checker
Enclosing interface:
SecretBox

public static final class SecretBox.Checker extends BaseChecker
  • Method Details

    • checkKey

      public static void checkKey(byte[] key)
    • checkMac

      public static void checkMac(byte[] mac)
    • checkNonce

      public static void checkNonce(byte[] nonce)
    • checkCipherText

      public static void checkCipherText(byte[] cipherText, int messageLen)
    • checkMessage

      public static void checkMessage(byte[] message, int cipherTextLen)
    • checkCipherTextLength

      public static void checkCipherTextLength(long cipherTextLen)