Package-level declarations

Functions

Link copied to clipboard
suspend fun KDF.deriveKey(salt: ByteArray, ikm: ByteArray, derivedKeyLength: BitLength): KmmResult<ByteArray>

Derives a key using the specified KDF implementation.

Link copied to clipboard
suspend fun HKDF.expandStep(pseudoRandomKey: ByteArray, info: ByteArray, derivedKeyLength: BitLength): KmmResult<ByteArray>

HKDF expand step. NOT A FULL KDF!

Link copied to clipboard
suspend fun HKDF.extractStep(salt: ByteArray?, inputKeyMaterial: ByteArray): KmmResult<ByteArray>

HDKF extract step generating a pseudo-random key from salt and ikm. NOT A FULL KDF!

Link copied to clipboard