def hkdf
import bend-collections-laws-crypto@1.0.0.0/src/crypto/kdf.bend as Kdfimport Base
49def hkdf(+salt: List<&2, U32>, ikm: List<&2, U32>, +info: List<&2, U32>, +len: Nat) -> Result<&2, &2, KdfError, List<&2, U32>>:
50 expand(extract(salt, ikm), info, len)