def initial

bend-collections@1.0.0.0 · src/crypto/blake/blake2b/sized.bend:61

import bend-collections@1.0.0.0/src/crypto/blake/blake2b/sized.bend as Sized
import Base
import bend-collections@1.0.0.0/src/crypto/blake/blake2b/types.bend as T

61# h[0] ^= 0x01010000 ^ nn: the parameter block of an unkeyed hash with nn bytes.
62def initial(+nn: U32) -> T.Chain:
63  T.H{T.W{U32.xor(4089235720, U32.or(16842752, nn)), 1779033703}, T.W{2227873595, 3144134277}, T.W{4271175723, 1013904242}, T.W{1595750129, 2773480762}, T.W{2917565137, 1359893119}, T.W{725511199, 2600822924}, T.W{4215389547, 528734635}, T.W{327033209, 1541459225}}

Uses (5)

Used by (1)