func crypto/rsa.EncryptPKCS1v15
3 uses
crypto/rsa (current package)
pkcs1v15.go#L39: func EncryptPKCS1v15(rand io.Reader, pub *PublicKey, msg []byte) ([]byte, error) {
crypto/tls
key_agreement.go#L70: encrypted, err := rsa.EncryptPKCS1v15(config.rand(), cert.PublicKey.(*rsa.PublicKey), preMasterSecret)
golang.org/x/crypto/openpgp/packet
encrypted_key.go#L167: cipherText, err := rsa.EncryptPKCS1v15(rand, pub, keyBlock)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |