-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
doc: crypto.privateEncrypt() padding list needs updateΒ #9609
Copy link
Copy link
Closed
Labels
cryptoIssues and PRs related to the crypto subsystem.Issues and PRs related to the crypto subsystem.docIssues and PRs related to the documentations.Issues and PRs related to the documentations.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.
Metadata
Metadata
Assignees
Labels
cryptoIssues and PRs related to the crypto subsystem.Issues and PRs related to the crypto subsystem.docIssues and PRs related to the documentations.Issues and PRs related to the documentations.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.
Currently
crypto.privateEncypt()listscrypto.constants.RSA_PKCS1_OAEP_PADDINGas a validpaddingvalue, but it is actually only allowed forcrypto.publicEncrypt()as far as encrypting goes. This value needs to simply be removed from that list incrypto.privateEncrypt()'s description.