-
public interface Box.Native
-
-
Method Summary
Modifier and Type Method Description abstract booleancryptoBoxKeypair(Array<byte> publicKey, Array<byte> secretKey)abstract booleancryptoBoxSeedKeypair(Array<byte> publicKey, Array<byte> secretKey, Array<byte> seed)abstract booleancryptoBoxEasy(Array<byte> cipherText, Array<byte> message, int messageLen, Array<byte> nonce, Array<byte> publicKey, Array<byte> secretKey)abstract booleancryptoBoxOpenEasy(Array<byte> message, Array<byte> cipherText, int cipherTextLen, Array<byte> nonce, Array<byte> publicKey, Array<byte> secretKey)abstract booleancryptoBoxDetached(Array<byte> cipherText, Array<byte> mac, Array<byte> message, int messageLen, Array<byte> nonce, Array<byte> publicKey, Array<byte> secretKey)abstract booleancryptoBoxOpenDetached(Array<byte> message, Array<byte> cipherText, Array<byte> mac, int cipherTextLen, Array<byte> nonce, Array<byte> publicKey, Array<byte> secretKey)abstract booleancryptoBoxBeforeNm(Array<byte> k, Array<byte> publicKey, Array<byte> secretKey)abstract booleancryptoBoxEasyAfterNm(Array<byte> cipherText, Array<byte> message, int messageLen, Array<byte> nonce, Array<byte> key)abstract booleancryptoBoxOpenEasyAfterNm(Array<byte> message, Array<byte> cipher, int cLen, Array<byte> nonce, Array<byte> key)abstract booleancryptoBoxDetachedAfterNm(Array<byte> cipherText, Array<byte> mac, Array<byte> message, int messageLen, Array<byte> nonce, Array<byte> key)abstract booleancryptoBoxOpenDetachedAfterNm(Array<byte> message, Array<byte> cipherText, Array<byte> mac, int cipherTextLen, Array<byte> nonce, Array<byte> key)abstract booleancryptoBoxSeal(Array<byte> cipher, Array<byte> message, int messageLen, Array<byte> publicKey)abstract booleancryptoBoxSealOpen(Array<byte> m, Array<byte> cipher, int cipherLen, Array<byte> publicKey, Array<byte> secretKey)-
-
Method Detail
-
cryptoBoxKeypair
abstract boolean cryptoBoxKeypair(Array<byte> publicKey, Array<byte> secretKey)
-
cryptoBoxSeedKeypair
abstract boolean cryptoBoxSeedKeypair(Array<byte> publicKey, Array<byte> secretKey, Array<byte> seed)
-
cryptoBoxEasy
abstract boolean cryptoBoxEasy(Array<byte> cipherText, Array<byte> message, int messageLen, Array<byte> nonce, Array<byte> publicKey, Array<byte> secretKey)
-
cryptoBoxOpenEasy
abstract boolean cryptoBoxOpenEasy(Array<byte> message, Array<byte> cipherText, int cipherTextLen, Array<byte> nonce, Array<byte> publicKey, Array<byte> secretKey)
-
cryptoBoxDetached
abstract boolean cryptoBoxDetached(Array<byte> cipherText, Array<byte> mac, Array<byte> message, int messageLen, Array<byte> nonce, Array<byte> publicKey, Array<byte> secretKey)
-
cryptoBoxOpenDetached
abstract boolean cryptoBoxOpenDetached(Array<byte> message, Array<byte> cipherText, Array<byte> mac, int cipherTextLen, Array<byte> nonce, Array<byte> publicKey, Array<byte> secretKey)
-
cryptoBoxBeforeNm
abstract boolean cryptoBoxBeforeNm(Array<byte> k, Array<byte> publicKey, Array<byte> secretKey)
-
cryptoBoxEasyAfterNm
abstract boolean cryptoBoxEasyAfterNm(Array<byte> cipherText, Array<byte> message, int messageLen, Array<byte> nonce, Array<byte> key)
-
cryptoBoxOpenEasyAfterNm
abstract boolean cryptoBoxOpenEasyAfterNm(Array<byte> message, Array<byte> cipher, int cLen, Array<byte> nonce, Array<byte> key)
-
cryptoBoxDetachedAfterNm
abstract boolean cryptoBoxDetachedAfterNm(Array<byte> cipherText, Array<byte> mac, Array<byte> message, int messageLen, Array<byte> nonce, Array<byte> key)
-
cryptoBoxOpenDetachedAfterNm
abstract boolean cryptoBoxOpenDetachedAfterNm(Array<byte> message, Array<byte> cipherText, Array<byte> mac, int cipherTextLen, Array<byte> nonce, Array<byte> key)
-
cryptoBoxSeal
abstract boolean cryptoBoxSeal(Array<byte> cipher, Array<byte> message, int messageLen, Array<byte> publicKey)
-
cryptoBoxSealOpen
abstract boolean cryptoBoxSealOpen(Array<byte> m, Array<byte> cipher, int cipherLen, Array<byte> publicKey, Array<byte> secretKey)
-
-
-
-