Sha512.hex: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/crypto/sha512/sha512.bend as Sha512 Lines 29-35 of bend-collections@1.0.0.0/src/crypto/sha512/sha512.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/crypto/sha512/sha512.bend&start_line=29&end_line=35 import Base # Lowercase hex of a byte list. def hex(bytes: List<&2, U32>) -> String: match bytes: case Nil{}: "" case +b <> t: SCon{hex_digit(U32.and(U32.shrn(b, 4n), 15)), SCon{hex_digit(U32.and(b, 15)), hex(t)}} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.shrn https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/sha512/sha512.bend&name=hex_digit