Md5.hs.md5.step: def of bend-osdev-hashes@0.1.0.0 Import: import bend-osdev-hashes@0.1.0.0/md5.bend as Md5 Lines 28-30 of bend-osdev-hashes@0.1.0.0/md5.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-hashes@0.1.0.0/md5.bend&start_line=28&end_line=30 import Base import bend-osdev-hashes@0.1.0.0/hashes.bend as Hs # one step: b + ((a + f + X[k] + T[i]) <<< s) def hs.md5.step(a: U32, b: U32, f: U32, x: U32, t: U32, +s: Nat) -> U32: U32.add(b, Hs.hs.rotl(U32.add(U32.add(a, f), U32.add(x, t)), s)) Uses (4): 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=Base/base.bend&name=U32.add https://jend.leeeet.dev/definition.txt?path=bend-osdev-hashes@0.1.0.0/hashes.bend&name=hs.rotl