def lc.rotl
import bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend as LegacyCiphersimport Base
42def lc.rotl(+x: U32, +n: Nat) -> U32:
43 U32.or(U32.shln(x, n), U32.shrn(x, Nat.sub(32n, n)))
import bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend as LegacyCiphersimport Base
42def lc.rotl(+x: U32, +n: Nat) -> U32:
43 U32.or(U32.shln(x, n), U32.shrn(x, Nat.sub(32n, n)))