Interface Box.Native

All Known Implementing Classes:
LazySodium, LazySodiumJava
Enclosing interface:
Box

public static interface Box.Native
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    cryptoBoxBeforeNm(byte[] k, byte[] publicKey, byte[] secretKey)
     
    boolean
    cryptoBoxDetached(byte[] cipherText, byte[] mac, byte[] message, long messageLen, byte[] nonce, byte[] publicKey, byte[] secretKey)
     
    boolean
    cryptoBoxDetachedAfterNm(byte[] cipherText, byte[] mac, byte[] message, long messageLen, byte[] nonce, byte[] key)
     
    boolean
    cryptoBoxEasy(byte[] cipherText, byte[] message, long messageLen, byte[] nonce, byte[] publicKey, byte[] secretKey)
     
    boolean
    cryptoBoxEasyAfterNm(byte[] cipherText, byte[] message, long messageLen, byte[] nonce, byte[] key)
     
    boolean
    cryptoBoxKeypair(byte[] publicKey, byte[] secretKey)
     
    boolean
    cryptoBoxOpenDetached(byte[] message, byte[] cipherText, byte[] mac, long cipherTextLen, byte[] nonce, byte[] publicKey, byte[] secretKey)
     
    boolean
    cryptoBoxOpenDetachedAfterNm(byte[] message, byte[] cipherText, byte[] mac, long cipherTextLen, byte[] nonce, byte[] key)
     
    boolean
    cryptoBoxOpenEasy(byte[] message, byte[] cipherText, long cipherTextLen, byte[] nonce, byte[] publicKey, byte[] secretKey)
     
    boolean
    cryptoBoxOpenEasyAfterNm(byte[] message, byte[] cipher, long cLen, byte[] nonce, byte[] key)
     
    boolean
    cryptoBoxSeal(byte[] cipher, byte[] message, long messageLen, byte[] publicKey)
     
    boolean
    cryptoBoxSealOpen(byte[] m, byte[] cipher, long cipherLen, byte[] publicKey, byte[] secretKey)
     
    boolean
    cryptoBoxSeedKeypair(byte[] publicKey, byte[] secretKey, byte[] seed)
     
  • Method Details

    • cryptoBoxKeypair

      boolean cryptoBoxKeypair(byte[] publicKey, byte[] secretKey)
    • cryptoBoxSeedKeypair

      boolean cryptoBoxSeedKeypair(byte[] publicKey, byte[] secretKey, byte[] seed)
    • cryptoBoxEasy

      boolean cryptoBoxEasy(byte[] cipherText, byte[] message, long messageLen, byte[] nonce, byte[] publicKey, byte[] secretKey)
    • cryptoBoxOpenEasy

      boolean cryptoBoxOpenEasy(byte[] message, byte[] cipherText, long cipherTextLen, byte[] nonce, byte[] publicKey, byte[] secretKey)
    • cryptoBoxDetached

      boolean cryptoBoxDetached(byte[] cipherText, byte[] mac, byte[] message, long messageLen, byte[] nonce, byte[] publicKey, byte[] secretKey)
    • cryptoBoxOpenDetached

      boolean cryptoBoxOpenDetached(byte[] message, byte[] cipherText, byte[] mac, long cipherTextLen, byte[] nonce, byte[] publicKey, byte[] secretKey)
    • cryptoBoxBeforeNm

      boolean cryptoBoxBeforeNm(byte[] k, byte[] publicKey, byte[] secretKey)
    • cryptoBoxEasyAfterNm

      boolean cryptoBoxEasyAfterNm(byte[] cipherText, byte[] message, long messageLen, byte[] nonce, byte[] key)
    • cryptoBoxOpenEasyAfterNm

      boolean cryptoBoxOpenEasyAfterNm(byte[] message, byte[] cipher, long cLen, byte[] nonce, byte[] key)
    • cryptoBoxDetachedAfterNm

      boolean cryptoBoxDetachedAfterNm(byte[] cipherText, byte[] mac, byte[] message, long messageLen, byte[] nonce, byte[] key)
    • cryptoBoxOpenDetachedAfterNm

      boolean cryptoBoxOpenDetachedAfterNm(byte[] message, byte[] cipherText, byte[] mac, long cipherTextLen, byte[] nonce, byte[] key)
    • cryptoBoxSeal

      boolean cryptoBoxSeal(byte[] cipher, byte[] message, long messageLen, byte[] publicKey)
    • cryptoBoxSealOpen

      boolean cryptoBoxSealOpen(byte[] m, byte[] cipher, long cipherLen, byte[] publicKey, byte[] secretKey)