Core.zeros_onto: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/hub_sha/core.bend as Core Lines 3400-3406 of mylsm-lsm-store@0.6.0.1/src/hub_sha/core.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/hub_sha/core.bend&start_line=3400&end_line=3406 import Base # Append zero padding to onto for the SHA-256 compression implementation. def zeros_onto(word_z: Nat, acc: List<&2, U32>) -> List<&2, U32>: match word_z: case 0n: acc case 1n+p: zeros_onto(p, 0 <> acc) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32