-
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)abstract booleancryptoBoxCurve25519XChaCha20Poly1305Keypair(Array<byte> publicKey, Array<byte> secretKey)abstract booleancryptoBoxCurve25519XChaCha20Poly1305SeedKeypair(Array<byte> publicKey, Array<byte> secretKey, Array<byte> seed)abstract booleancryptoBoxCurve25519XChaCha20Poly1305Easy(Array<byte> cipherText, Array<byte> message, int messageLen, Array<byte> nonce, Array<byte> publicKey, Array<byte> secretKey)abstract booleancryptoBoxCurve25519XChaCha20Poly1305OpenEasy(Array<byte> message, Array<byte> cipherText, int cipherTextLen, Array<byte> nonce, Array<byte> publicKey, Array<byte> secretKey)abstract booleancryptoBoxCurve25519XChaCha20Poly1305Detached(Array<byte> cipherText, Array<byte> mac, Array<byte> message, int messageLen, Array<byte> nonce, Array<byte> publicKey, Array<byte> secretKey)abstract booleancryptoBoxCurve25519XChaCha20Poly1305OpenDetached(Array<byte> message, Array<byte> cipherText, Array<byte> mac, int cipherTextLen, Array<byte> nonce, Array<byte> publicKey, Array<byte> secretKey)abstract booleancryptoBoxCurve25519XChaCha20Poly1305BeforeNm(Array<byte> k, Array<byte> publicKey, Array<byte> secretKey)abstract booleancryptoBoxCurve25519XChaCha20Poly1305EasyAfterNm(Array<byte> cipherText, Array<byte> message, int messageLen, Array<byte> nonce, Array<byte> key)abstract booleancryptoBoxCurve25519XChaCha20Poly1305OpenEasyAfterNm(Array<byte> message, Array<byte> cipher, int cLen, Array<byte> nonce, Array<byte> key)abstract booleancryptoBoxCurve25519XChaCha20Poly1305DetachedAfterNm(Array<byte> cipherText, Array<byte> mac, Array<byte> message, int messageLen, Array<byte> nonce, Array<byte> key)abstract booleancryptoBoxCurve25519XChaCha20Poly1305OpenDetachedAfterNm(Array<byte> message, Array<byte> cipherText, Array<byte> mac, int cipherTextLen, Array<byte> nonce, Array<byte> key)abstract booleancryptoBoxCurve25519XChaCha20Poly1305Seal(Array<byte> cipher, Array<byte> message, int messageLen, Array<byte> publicKey)abstract booleancryptoBoxCurve25519XChaCha20Poly1305SealOpen(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)
-
cryptoBoxCurve25519XChaCha20Poly1305Keypair
abstract boolean cryptoBoxCurve25519XChaCha20Poly1305Keypair(Array<byte> publicKey, Array<byte> secretKey)
-
cryptoBoxCurve25519XChaCha20Poly1305SeedKeypair
abstract boolean cryptoBoxCurve25519XChaCha20Poly1305SeedKeypair(Array<byte> publicKey, Array<byte> secretKey, Array<byte> seed)
-
cryptoBoxCurve25519XChaCha20Poly1305Easy
abstract boolean cryptoBoxCurve25519XChaCha20Poly1305Easy(Array<byte> cipherText, Array<byte> message, int messageLen, Array<byte> nonce, Array<byte> publicKey, Array<byte> secretKey)
-
cryptoBoxCurve25519XChaCha20Poly1305OpenEasy
abstract boolean cryptoBoxCurve25519XChaCha20Poly1305OpenEasy(Array<byte> message, Array<byte> cipherText, int cipherTextLen, Array<byte> nonce, Array<byte> publicKey, Array<byte> secretKey)
-
cryptoBoxCurve25519XChaCha20Poly1305Detached
abstract boolean cryptoBoxCurve25519XChaCha20Poly1305Detached(Array<byte> cipherText, Array<byte> mac, Array<byte> message, int messageLen, Array<byte> nonce, Array<byte> publicKey, Array<byte> secretKey)
-
cryptoBoxCurve25519XChaCha20Poly1305OpenDetached
abstract boolean cryptoBoxCurve25519XChaCha20Poly1305OpenDetached(Array<byte> message, Array<byte> cipherText, Array<byte> mac, int cipherTextLen, Array<byte> nonce, Array<byte> publicKey, Array<byte> secretKey)
-
cryptoBoxCurve25519XChaCha20Poly1305BeforeNm
abstract boolean cryptoBoxCurve25519XChaCha20Poly1305BeforeNm(Array<byte> k, Array<byte> publicKey, Array<byte> secretKey)
-
cryptoBoxCurve25519XChaCha20Poly1305EasyAfterNm
abstract boolean cryptoBoxCurve25519XChaCha20Poly1305EasyAfterNm(Array<byte> cipherText, Array<byte> message, int messageLen, Array<byte> nonce, Array<byte> key)
-
cryptoBoxCurve25519XChaCha20Poly1305OpenEasyAfterNm
abstract boolean cryptoBoxCurve25519XChaCha20Poly1305OpenEasyAfterNm(Array<byte> message, Array<byte> cipher, int cLen, Array<byte> nonce, Array<byte> key)
-
cryptoBoxCurve25519XChaCha20Poly1305DetachedAfterNm
abstract boolean cryptoBoxCurve25519XChaCha20Poly1305DetachedAfterNm(Array<byte> cipherText, Array<byte> mac, Array<byte> message, int messageLen, Array<byte> nonce, Array<byte> key)
-
cryptoBoxCurve25519XChaCha20Poly1305OpenDetachedAfterNm
abstract boolean cryptoBoxCurve25519XChaCha20Poly1305OpenDetachedAfterNm(Array<byte> message, Array<byte> cipherText, Array<byte> mac, int cipherTextLen, Array<byte> nonce, Array<byte> key)
-
cryptoBoxCurve25519XChaCha20Poly1305Seal
abstract boolean cryptoBoxCurve25519XChaCha20Poly1305Seal(Array<byte> cipher, Array<byte> message, int messageLen, Array<byte> publicKey)
-
cryptoBoxCurve25519XChaCha20Poly1305SealOpen
abstract boolean cryptoBoxCurve25519XChaCha20Poly1305SealOpen(Array<byte> m, Array<byte> cipher, int cipherLen, Array<byte> publicKey, Array<byte> secretKey)
-
-
-
-