github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/module/dkg/hasher.go (about) 1 package dkg 2 3 import ( 4 "github.com/onflow/crypto/hash" 5 6 "github.com/onflow/flow-go/module/signature" 7 ) 8 9 // NewDKGMessageHasher returns a hasher for signing and verifying DKG broadcast 10 // messages. 11 func NewDKGMessageHasher() hash.Hasher { 12 return signature.NewBLSHasher(signature.DKGMessageTag) 13 }