EncryptionResult

data class EncryptionResult(val ciphertext: ByteArray, val encryptionExtras: Map<String, String> = emptyMap())

Result of an encryption operation, containing the ciphertext and optional platform-specific extras.

Parameters

ciphertext

the encrypted bytes.

encryptionExtras

optional map of platform-specific metadata (e.g., IV, key alias).

Constructors

Link copied to clipboard
constructor(ciphertext: ByteArray, encryptionExtras: Map<String, String> = emptyMap())

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int