def pack
import bend-collections-laws-crypto@1.0.0.0/src/crypto/sha/core.bend as Coreimport Base
207def pack(a: U32, b: U32, c: U32, d: U32) -> U32:
208 (U32.shln((a .&. 255 : U32), 24n)
209 .|. U32.shln((b .&. 255 : U32), 16n)
210 .|. U32.shln((c .&. 255 : U32), 8n) .|. (d .&. 255) : U32)
Uses (4)
Used by (88)
- bend-collections-laws-crypto@1.0.0.0/src/crypto/sha/core:len_hi
- bend-collections-laws-crypto@1.0.0.0/src/crypto/sha/core:len_lo
- bend-collections-laws-crypto@1.0.0.0/src/crypto/sha/core:block_bytes
- bend-collections-laws-crypto@1.0.0.0/src/crypto/sha/core:stream
- bend-collections-laws-crypto@1.0.0.0/src/crypto/hash:read256_0
- …