KDF

interface KDF(source)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val kdfId: Int

RFC 9180 kdf_id

Link copied to clipboard
abstract val Nh: BitLength

The output size of the Extract function in bytes.

Functions

Link copied to clipboard
abstract fun Expand(prk: ByteArray, info: ByteArray, L: BitLength): ByteArray

Expand a pseudorandom key prk using optional string info into L bytes of output keying material.

Link copied to clipboard
abstract fun Extract(salt: ByteArray?, ikm: ByteArray): ByteArray

Extract a pseudorandom key of fixed length Nh bytes from input keying material ikm and an optional byte string salt.