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