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: deprecate hash constructor · nodejs/node@26ed4ad

File tree

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

‎doc/api/deprecations.md‎

Copy file name to clipboardExpand all lines: doc/api/deprecations.md
+16Lines changed: 16 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -3467,6 +3467,21 @@ Type: Documentation-only
34673467
The [`dirent.path`][] is deprecated due to its lack of consistency across
34683468
release lines. Please use [`dirent.parentPath`][] instead.
34693469

3470+
### DEP0179: `Hash` constructor
3471+
3472+
<!-- YAML
3473+
changes:
3474+
- version: REPLACEME
3475+
pr-url: https://github.com/nodejs/node/pull/51077
3476+
description: Documentation-only deprecation.
3477+
-->
3478+
3479+
Type: Documentation-only
3480+
3481+
Calling `Hash` class directly with `Hash()` or `new Hash()` is
3482+
deprecated due to being internals, not intended for public use.
3483+
Please use the [`crypto.createHash()`][] method to create Hash instances.
3484+
34703485
[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
34713486
[RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3
34723487
[RFC 8247 Section 2.4]: https://www.rfc-editor.org/rfc/rfc8247#section-2.4
@@ -3505,6 +3520,7 @@ release lines. Please use [`dirent.parentPath`][] instead.
35053520
[`crypto.createCipheriv()`]: crypto.md#cryptocreatecipherivalgorithm-key-iv-options
35063521
[`crypto.createDecipher()`]: crypto.md#cryptocreatedecipheralgorithm-password-options
35073522
[`crypto.createDecipheriv()`]: crypto.md#cryptocreatedecipherivalgorithm-key-iv-options
3523+
[`crypto.createHash()`]: crypto.md#cryptocreatehashalgorithm-options
35083524
[`crypto.fips`]: crypto.md#cryptofips
35093525
[`crypto.pbkdf2()`]: crypto.md#cryptopbkdf2password-salt-iterations-keylen-digest-callback
35103526
[`crypto.randomBytes()`]: crypto.md#cryptorandombytessize-callback

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.