Cast5.cast.z: def of bend-osdev-legacy-ciphers@0.1.0.0 Import: import bend-osdev-legacy-ciphers@0.1.0.0/cast5.bend as Cast5 Lines 396-402 of bend-osdev-legacy-ciphers@0.1.0.0/cast5.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/cast5.bend&start_line=396&end_line=402 import Base import bend-osdev-bytes@0.1.0.0/bytes.bend as B # z from x (the four lines z0z1z2z3 = ... of 2.4.1); the bytes of z built so # far are the cur argument of the later words def cast.z(+t: LcCastKTabs, +x: List<&2, U32>) -> List<&2, U32>: +z0 = cast.bytes(cast.mix(t, cast.w(x, 0n), x, 13n, 15n, 12n, 14n, x, 7n, 8n), Nil{}) +z1 = B.append(z0, cast.bytes(cast.mix(t, cast.w(x, 8n), z0, 0n, 2n, 1n, 3n, x, 8n, 10n), Nil{})) +z2 = B.append(z1, cast.bytes(cast.mix(t, cast.w(x, 12n), z1, 7n, 6n, 5n, 4n, x, 5n, 9n), Nil{})) B.append(z2, cast.bytes(cast.mix(t, cast.w(x, 4n), z2, 10n, 9n, 11n, 8n, x, 6n, 11n), Nil{})) 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=U32 https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=append https://jend.leeeet.dev/definition.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/cast5.bend&name=LcCastKTabs https://jend.leeeet.dev/definition.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/cast5.bend&name=cast.bytes https://jend.leeeet.dev/definition.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/cast5.bend&name=cast.mix https://jend.leeeet.dev/definition.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/cast5.bend&name=cast.w