Skip to content

doc: crypto.privateEncrypt() padding list needs update #9609

Description

@mscdex
  • Version: all
  • Platform: n/a
  • Subsystem: doc

Currently crypto.privateEncypt() lists crypto.constants.RSA_PKCS1_OAEP_PADDING as a valid padding value, but it is actually only allowed for crypto.publicEncrypt() as far as encrypting goes. This value needs to simply be removed from that list in crypto.privateEncrypt()'s description.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cryptoIssues and PRs related to the crypto subsystem.docIssues and PRs related to Node.js documentation.good first issueIssues that are suitable for first-time contributors.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions