func (messageHash) Domain() string {
	return "messageHash"
}
Domain implements hash.WriterToWithDomain, and separates this type within hash.Hash.
package sign
import (
	"io"
	"github.com/taurusgroup/multi-party-sig/pkg/hash"
	"github.com/taurusgroup/multi-party-sig/pkg/math/curve"
	"github.com/taurusgroup/multi-party-sig/pkg/math/sample"
)
type messageHash []byte
func (m messageHash) WriteTo(w io.Writer) (int64, error) {
	if m == nil {
		return 0, io.ErrUnexpectedEOF
	}
	n, err := w.Write(m)
	return int64(n), err
}