CipherState

interface CipherState

Cipher state

Types

Companion
Link copied to clipboard
common
object Companion

Functions

cipher
Link copied to clipboard
common
abstract fun cipher(): CipherFunctions
decryptWithAd
Link copied to clipboard
common
abstract fun decryptWithAd(ad: ByteArray, ciphertext: ByteArray): Pair<CipherState, ByteArray>
encryptWithAd
Link copied to clipboard
common
abstract fun encryptWithAd(ad: ByteArray, plaintext: ByteArray): Pair<CipherState, ByteArray>
hasKey
Link copied to clipboard
common
abstract fun hasKey(): Boolean
initializeKey
Link copied to clipboard
common
open fun initializeKey(key: ByteArray): CipherState

Inheritors

ExtendedCipherState
Link copied to clipboard
UninitializedCipherState
Link copied to clipboard
InitializedCipherState
Link copied to clipboard