lightning-kmp
/
fr.acinq.lightning.crypto.noise
/
Chacha20Poly1305CipherFunctions
common
native
jvm
Chacha20Poly1305Cipher
Functions
common
native
jvm
object
Chacha20Poly1305CipherFunctions
:
CipherFunctions
Content copied to clipboard
object
Chacha20Poly1305CipherFunctions
:
CipherFunctions
Content copied to clipboard
object
Chacha20Poly1305CipherFunctions
:
CipherFunctions
Content copied to clipboard
Functions
Functions
decrypt
Link copied to clipboard
native
jvm
common
open override fun
decrypt
(k:
ByteArray
, n:
Long
, ad:
ByteArray
, ciphertextAndMac:
ByteArray
):
ByteArray
Content copied to clipboard
open override fun
decrypt
(k:
ByteArray
, n:
Long
, ad:
ByteArray
, ciphertextAndMac:
ByteArray
):
ByteArray
Content copied to clipboard
abstract fun
decrypt
(k:
ByteArray
, n:
Long
, ad:
ByteArray
, ciphertext:
ByteArray
):
ByteArray
Content copied to clipboard
encrypt
Link copied to clipboard
native
jvm
common
open override fun
encrypt
(k:
ByteArray
, n:
Long
, ad:
ByteArray
, plaintext:
ByteArray
):
ByteArray
Content copied to clipboard
open override fun
encrypt
(k:
ByteArray
, n:
Long
, ad:
ByteArray
, plaintext:
ByteArray
):
ByteArray
Content copied to clipboard
abstract fun
encrypt
(k:
ByteArray
, n:
Long
, ad:
ByteArray
, plaintext:
ByteArray
):
ByteArray
Content copied to clipboard
name
Link copied to clipboard
native
jvm
common
open override fun
name
():
String
Content copied to clipboard
open override fun
name
():
String
Content copied to clipboard
abstract fun
name
():
String
Content copied to clipboard
nonce
Link copied to clipboard
native
jvm
fun
nonce
(n:
Long
):
ByteArray
Content copied to clipboard
fun
nonce
(n:
Long
):
ByteArray
Content copied to clipboard