Index Mathematics Conjectures nbv lettuce Widgets

blake3_derive_key

stdlib/blake3/blake3_derive_key.nbv

blake3_derive_key(context, material, static out_len)

BLAKE3 key derivation: the context string bits are hashed into a context key, which keys the hash of the material bits. Returns out_len bits. See blake3_core.

Calls
blake3/blake3_core, bits/bytes_to_bits_static

Source

# BLAKE3 key derivation: the `context` string bits are hashed into a context
# key, which keys the hash of the `material` bits. Returns `out_len` bits.
# See blake3_core.
(context, material, static out_len)

static IV = bytes_to_bits_static([103 230 9 106 133 174 103 187 114 243 110 60 58 245 79 165 127 82 14 81 140 104 5 155 171 217 131 31 25 205 224 91])
blake3_core(blake3_core(IV, 32, context, 256), 64, material, out_len)