Commit 3838e04 1 parent 342ddb0 commit 3838e04 Copy full SHA for 3838e04
File tree 1 file changed +16
-0
lines changed
1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -3545,6 +3545,21 @@ Type: Documentation-only
3545
3545
The [ ` dirent.path ` ] [ ] is deprecated due to its lack of consistency across
3546
3546
release lines. Please use [ ` dirent.parentPath ` ] [ ] instead.
3547
3547
3548
+ ### DEP0180: ` Hash ` constructor
3549
+
3550
+ <!-- YAML
3551
+ changes:
3552
+ - version: REPLACEME
3553
+ pr-url: https://github.com/nodejs/node/pull/51077
3554
+ description: Documentation-only deprecation.
3555
+ -->
3556
+
3557
+ Type: Documentation-only
3558
+
3559
+ The ` Hash() ` function and ` new Hash() ` constructor are
3560
+ deprecated due to being internals, not intended for public use.
3561
+ Please use the [ ` crypto.createHash() ` ] [ ] method to create Hash instances.
3562
+
3548
3563
[ NIST SP 800-38D ] : https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
3549
3564
[ RFC 6066 ] : https://tools.ietf.org/html/rfc6066#section-3
3550
3565
[ RFC 8247 Section 2.4 ] : https://www.rfc-editor.org/rfc/rfc8247#section-2.4
@@ -3583,6 +3598,7 @@ release lines. Please use [`dirent.parentPath`][] instead.
3583
3598
[ `crypto.createCipheriv()` ] : crypto.md#cryptocreatecipherivalgorithm-key-iv-options
3584
3599
[ `crypto.createDecipher()` ] : crypto.md#cryptocreatedecipheralgorithm-password-options
3585
3600
[ `crypto.createDecipheriv()` ] : crypto.md#cryptocreatedecipherivalgorithm-key-iv-options
3601
+ [ `crypto.createHash()` ] : crypto.md#cryptocreatehashalgorithm-options
3586
3602
[ `crypto.fips` ] : crypto.md#cryptofips
3587
3603
[ `crypto.pbkdf2()` ] : crypto.md#cryptopbkdf2password-salt-iterations-keylen-digest-callback
3588
3604
[ `crypto.randomBytes()` ] : crypto.md#cryptorandombytessize-callback
You can’t perform that action at this time.
0 commit comments