Des.des.e: def of bend-osdev-legacy-ciphers@0.1.0.0 Import: import bend-osdev-legacy-ciphers@0.1.0.0/des.bend as Des Lines 231-234 of bend-osdev-legacy-ciphers@0.1.0.0/des.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/des.bend&start_line=231&end_line=234 import Base import bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend as L # group i of E(R): bits 4i .. 4i + 5 of R (bit 0 is bit 32), the top six bits # of R rotated left by n = 4i - 1 (mod 32) def des.e(+r: U32, +n: Nat) -> U32: U32.and(63, U32.shrn(L.lc.rotl(r, n), 26n)) Uses (5): 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.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.shrn https://jend.leeeet.dev/definition.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend&name=lc.rotl