- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for VerifyPKCS1v15 (2.73 sec)
-
src/crypto/rsa/example_test.go
// that the hash function be collision resistant. SHA-256 is the // least-strong hash function that should be used for this at the time // of writing (2016). hashed := sha256.Sum256(message) err := rsa.VerifyPKCS1v15(&rsaPrivateKey.PublicKey, crypto.SHA256, hashed[:], signature) if err != nil { fmt.Fprintf(os.Stderr, "Error from verification: %s\n", err) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 22:52:37 UTC 2023 - 5.8K bytes - Viewed (0)