github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/engine/verification/utils/hasher.go (about) 1 package utils 2 3 import ( 4 "github.com/onflow/crypto/hash" 5 6 "github.com/onflow/flow-go/module/signature" 7 ) 8 9 // NewResultApprovalHasher generates and returns a hasher for signing 10 // and verification of result approvals 11 func NewResultApprovalHasher() hash.Hasher { 12 h := signature.NewBLSHasher(signature.ResultApprovalTag) 13 return h 14 }