Sha.extension: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/spec/crypto/sha.bend as Sha Lines 98-104 of bend-collections@1.0.0.0/spec/crypto/sha.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/spec/crypto/sha.bend&start_line=98&end_line=104 import Base def extension(rounds: Nat, +history: List<&2, U32>) -> List<&2, U32>: match rounds: case 0n: Nil{} case 1n+p: +w = recurrence(history) w <> extension(p, w <> history) Uses (4): 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 https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/spec/crypto/sha.bend&name=recurrence