lightning-kmp
/
fr.acinq.lightning.crypto.noise
/
CipherFunctions
common
native
jvm
Cipher
Functions
interface
CipherFunctions
Content copied to clipboard
Cipher functions
Functions
Inheritors
Functions
decrypt
Link copied to clipboard
common
abstract fun
decrypt
(k:
ByteArray
, n:
Long
, ad:
ByteArray
, ciphertext:
ByteArray
):
ByteArray
Content copied to clipboard
encrypt
Link copied to clipboard
common
abstract fun
encrypt
(k:
ByteArray
, n:
Long
, ad:
ByteArray
, plaintext:
ByteArray
):
ByteArray
Content copied to clipboard
name
Link copied to clipboard
common
abstract fun
name
():
String
Content copied to clipboard
Inheritors
Chacha20Poly1305CipherFunctions
Link copied to clipboard