func (pk *RsaPublicKey) Verify(data, sig []byte) (bool, error) {
	hashed := sha256.Sum256(data)
	err := rsa.VerifyPKCS1v15(pk.k, crypto.SHA256, hashed[:], sig)
	if err != nil {
		return false, err
	}
	return true, nil
}
func (pk *RsaPublicKey) Verify(data, sig []byte) (bool, error) {
	hashed := sha256.Sum256(data)
	err := rsa.VerifyPKCS1v15(pk.k, crypto.SHA256, hashed[:], sig)
	if err != nil {
		return false, err
	}
	return true, nil
}
func ( pk * RsaPublicKey ) Verify ( data , sig [ ] byte ) ( bool , error ) { hashed := sha256 . Sum256 ( data ) err := rsa . VerifyPKCS1v15 ( pk . k , crypto . SHA256 , hashed [ : ] , sig ) if err != nil { return false , err } return true , nil }
// Verify compares a signature against input data
Verify compares a signature against input data