def hprime
import bend-collections@1.0.0.0/src/crypto/argon2/argon2.bend as Argon2import Base
48# H'^T(a): the variable-length hash, over LE32(T) || a.
49def hprime(+tl: Nat, a: List<&2, U32>) -> List<&2, U32>:
50 hp_pick(tl, cat(le32(tl), a), Nat.is_le(tl, 64n))