Uninitialized Cipher State
data class UninitializedCipherState(cipher: CipherFunctions) : CipherState
Content copied to clipboard
Uninitialized cipher state. Encrypt and decrypt do nothing (ciphertext = plaintext)
Parameters
cipher
cipher functions
Constructors
UninitializedCipherState
Link copied to clipboard
Functions
cipher
Link copied to clipboard
decrypt With Ad
Link copied to clipboard
open override fun decryptWithAd(ad: ByteArray, ciphertext: ByteArray): Pair<CipherState, ByteArray>
Content copied to clipboard
encrypt With Ad
Link copied to clipboard
open override fun encryptWithAd(ad: ByteArray, plaintext: ByteArray): Pair<CipherState, ByteArray>
Content copied to clipboard
initialize Key
Link copied to clipboard
Properties
cipher
Link copied to clipboard