PBKDF2

RFC 8018-compliant PBKDF2 template using an HMAC as its prf (pseudo-random function).

To obtain an actual KDF for key derivation, invoke as (iterations = ...)

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Types

Link copied to clipboard
object Companion
Link copied to clipboard
inner class WithIterations : KDF

The actual PBKDF2 instance configured with iterations set.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val prf: HMAC

Functions

Link copied to clipboard
operator fun invoke(iterations: Int): PBKDF2.WithIterations
Link copied to clipboard
fun valueOf(value: String): PBKDF2

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.