def lc.rotl

bend-osdev-legacy-ciphers@0.1.0.0 · legacy_ciphers.bend:42

import bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend as LegacyCiphers
import Base

42def lc.rotl(+x: U32, +n: Nat) -> U32:
43  U32.or(U32.shln(x, n), U32.shrn(x, Nat.sub(32n, n)))

Uses (6)

Used by (12)