github.com/koko1123/flow-go-1@v0.29.6/module/dkg/hasher.go (about)

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