Chacha20Poly1305CipherFunctions

object Chacha20Poly1305CipherFunctions : CipherFunctions
object Chacha20Poly1305CipherFunctions : CipherFunctions
object Chacha20Poly1305CipherFunctions : CipherFunctions

Functions

decrypt
Link copied to clipboard
open override fun decrypt(k: ByteArray, n: Long, ad: ByteArray, ciphertextAndMac: ByteArray): ByteArray
open override fun decrypt(k: ByteArray, n: Long, ad: ByteArray, ciphertextAndMac: ByteArray): ByteArray
abstract fun decrypt(k: ByteArray, n: Long, ad: ByteArray, ciphertext: ByteArray): ByteArray
encrypt
Link copied to clipboard
open override fun encrypt(k: ByteArray, n: Long, ad: ByteArray, plaintext: ByteArray): ByteArray
open override fun encrypt(k: ByteArray, n: Long, ad: ByteArray, plaintext: ByteArray): ByteArray
abstract fun encrypt(k: ByteArray, n: Long, ad: ByteArray, plaintext: ByteArray): ByteArray
name
Link copied to clipboard
open override fun name(): String
open override fun name(): String
abstract fun name(): String
nonce
Link copied to clipboard
fun nonce(n: Long): ByteArray
fun nonce(n: Long): ByteArray