Hmac.zero_pad: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/spec/crypto/hmac.bend as Hmac Lines 39-41 of bend-collections-laws-crypto@1.0.0.0/spec/crypto/hmac.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/spec/crypto/hmac.bend&start_line=39&end_line=41 import Base def zero_pad(+k: List<&2, U32>) -> List<&2, U32>: List.append(&2, U32, k, List.replicate(U32, Nat.sub(block_len(), List.length(&2, U32, k)), 0)) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.length https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.replicate https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.sub https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/spec/crypto/hmac.bend&name=block_len