CipherText

data class CipherText(val cipherText: ByteString, val iv: ByteString)

Encrypted text. Contains the ciphertext bytes and an initialisation vector to be used during the AES decryption.

Constructors

Link copied to clipboard
constructor(cipherText: ByteString, iv: ByteString)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val cipherText: ByteString
Link copied to clipboard
val iv: ByteString

Functions

Link copied to clipboard
fun decipher(from: PubKey, to: SecKey): String
Link copied to clipboard
open override fun toString(): String