GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc,crypto: clarify oaepHash option's impact · nodejs/node@394f8ca

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • crypto.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/crypto.md‎

Copy file name to clipboardExpand all lines: doc/api/crypto.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2474,7 +2474,7 @@ changes:
24742474
-->
24752475

24762476
* `privateKey` {Object | string | Buffer | KeyObject}
2477-
* `oaepHash` {string} The hash function to use for OAEP padding.
2477+
* `oaepHash` {string} The hash function to use for OAEP padding and MGF1.
24782478
**Default:** `'sha1'`
24792479
* `oaepLabel` {Buffer | TypedArray | DataView} The label to use for OAEP
24802480
padding. If not specified, no label is used.
@@ -2564,7 +2564,7 @@ changes:
25642564

25652565
* `key` {Object | string | Buffer | KeyObject}
25662566
* `key` {string | Buffer | KeyObject} A PEM encoded public or private key.
2567-
* `oaepHash` {string} The hash function to use for OAEP padding.
2567+
* `oaepHash` {string} The hash function to use for OAEP padding and MGF1.
25682568
**Default:** `'sha1'`
25692569
* `oaepLabel` {Buffer | TypedArray | DataView} The label to use for OAEP
25702570
padding. If not specified, no label is used.

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.