def lc.be
import bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend as LegacyCiphersimport Base
49# the word with bytes a (most significant), b, c, d
50def lc.be(a: U32, b: U32, c: U32, d: U32) -> U32:
51 U32.or(U32.or(U32.shln(U32.and(255, a), 24n), U32.shln(U32.and(255, b), 16n)), U32.or(U32.shln(U32.and(255, c), 8n), U32.and(255, d)))