Hkdf.block_count: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/spec/crypto/hkdf.bend as Hkdf Lines 33-35 of bend-collections@1.0.0.0/spec/crypto/hkdf.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/spec/crypto/hkdf.bend&start_line=33&end_line=35 import Base # N = ceil(L/HashLen). def block_count(+len: Nat) -> Nat: Nat.div(Nat.add(len, 31n), hash_len()) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.div https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/spec/crypto/hkdf.bend&name=hash_len