def tagged_h
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/secp256k1/schnorr.bend as Schnorrimport Base
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/sha.bend as FIPS
24def tagged_h(+th: List<&2, U32>, x: List<&2, U32>) -> List<&2, U32>:
25 FIPS.sha256_bytes(cat(th, cat(th, x)))