def decode

bend-collections-laws-crypto@1.0.0.0 · spec/crypto/sha.bend:68

import bend-collections-laws-crypto@1.0.0.0/spec/crypto/sha.bend as Sha
import Base

68def decode(a: U32, b: U32, c: U32, d: U32) -> U32:
69  U32.or(U32.or(U32.or(U32.shln(U32.and(a, 255), 24n),
70    U32.shln(U32.and(b, 255), 16n)), U32.shln(U32.and(c, 255), 8n)), U32.and(d, 255))

Uses (4)

Used by (3)