func New(privKey ed25519.PrivateKey, alg, kid string) *Signer {
	return &Signer{privateKey: privKey, kid: kid, alg: alg}
}
New returns ED25519 signer.
package edsigner
import (
	"crypto/ed25519"
	"errors"
	"github.com/trustbloc/sidetree-core-go/pkg/jws"
)
type Signer struct {
	alg        string
	kid        string
	privateKey ed25519.PrivateKey
}