extractStep

suspend fun HKDF.extractStep(salt: ByteArray?, inputKeyMaterial: ByteArray): KmmResult<ByteArray>(source)

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

Parameters

salt

optional salt. If not provided, defaults to ByteArray(outputLength), i.e. "a string of HashLen zeros"

inputKeyMaterial

input key material