CipherFunctions

interface CipherFunctions

Cipher functions

Functions

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

Inheritors

Chacha20Poly1305CipherFunctions
Link copied to clipboard