I want to sign with rsa.SignPKCS1v15 in go, and verify with openssl ' s
RSA_verify in C language, but verify failed. Can anybody help me ? thx so
sinppet code in go:
hashMD5 := md5.New()
Digest := hashMD5.Sum(nil)
Sign, Err := rsa.SignPKCS1v15(rand.Reader, LSKey, crypto.MD5, Digest)
Err = rsa.VerifyPKCS1v15(&LSKey.PublicKey, crypto.MD5, Digest, Sign)
//this is OK!!!
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
For more options, visit https://groups.google.com/groups/opt_out.