Package com.goterl.lazysodium.interfaces
Interface Box.Native
-
- All Known Implementing Classes:
LazySodium,LazySodiumJava
- Enclosing interface:
- Box
public static interface Box.Native
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancryptoBoxBeforeNm(byte[] k, byte[] publicKey, byte[] secretKey)booleancryptoBoxDetached(byte[] cipherText, byte[] mac, byte[] message, long messageLen, byte[] nonce, byte[] publicKey, byte[] secretKey)booleancryptoBoxDetachedAfterNm(byte[] cipherText, byte[] mac, byte[] message, long messageLen, byte[] nonce, byte[] key)booleancryptoBoxEasy(byte[] cipherText, byte[] message, long messageLen, byte[] nonce, byte[] publicKey, byte[] secretKey)booleancryptoBoxEasyAfterNm(byte[] cipherText, byte[] message, long messageLen, byte[] nonce, byte[] key)booleancryptoBoxKeypair(byte[] publicKey, byte[] secretKey)booleancryptoBoxOpenDetached(byte[] message, byte[] cipherText, byte[] mac, long cipherTextLen, byte[] nonce, byte[] publicKey, byte[] secretKey)booleancryptoBoxOpenDetachedAfterNm(byte[] message, byte[] cipherText, byte[] mac, long cipherTextLen, byte[] nonce, byte[] key)booleancryptoBoxOpenEasy(byte[] message, byte[] cipherText, long cipherTextLen, byte[] nonce, byte[] publicKey, byte[] secretKey)booleancryptoBoxOpenEasyAfterNm(byte[] message, byte[] cipher, long cLen, byte[] nonce, byte[] key)booleancryptoBoxSeal(byte[] cipher, byte[] message, long messageLen, byte[] publicKey)booleancryptoBoxSealOpen(byte[] m, byte[] cipher, long cipherLen, byte[] publicKey, byte[] secretKey)booleancryptoBoxSeedKeypair(byte[] publicKey, byte[] secretKey, byte[] seed)
-
-
-
Method Detail
-
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)
-
-