DerivedKeyResult

data class DerivedKeyResult(val key: SecretKey, val salt: ByteArray, val algorithm: String, val iterationCount: Int)

Result of a key derivation operation.

Constructors

Link copied to clipboard
constructor(key: SecretKey, salt: ByteArray, algorithm: String, iterationCount: Int)

Properties

Link copied to clipboard

The algorithm used for derivation.

Link copied to clipboard

The number of iterations used.

Link copied to clipboard

The derived cryptographic key.

Link copied to clipboard

The random salt used during derivation. Must be stored alongside encrypted data.

Functions

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