func (key EdDSAPublicKey) Verify(data, signature []byte) error {
	if !ed25519.Verify(key.key, data, signature) {
		return ErrInvalidSignature
	}

	return nil
}
// Verify returns true if the signature is a valid EdDSA signature for data.
Verify returns true if the signature is a valid EdDSA signature for data.
// Verify returns true if the signature is a valid EdDSA signature for data .
func (key EdDSAPublicKey) Verify(data, signature []byte) error {
	if !ed25519.Verify(key.key, data, signature) {
		return ErrInvalidSignature
	}
	return nil
}
func ( key EdDSAPublicKey ) Verify ( data , signature [ ] byte ) error { if ! ed25519 . Verify ( key . key , data , signature ) { return ErrInvalidSignature } return nil }
Verify returns true if the signature is a valid EdDSA signature for data.
Verify returns true if the signature is a valid EdDSA signature for data .