File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -3588,6 +3588,19 @@ Type: Documentation-only
3588
3588
Calling ` fs.Stats ` class directly with ` Stats() ` or ` new Stats() ` is
3589
3589
deprecated due to being internals, not intended for public use.
3590
3590
3591
+ ### DEP0181: ` Hmac ` constructor
3592
+
3593
+ <!-- YAML
3594
+ changes:
3595
+ - version: REPLACEME
3596
+ pr-url: https://github.com/nodejs/node/pull/51881
3597
+ description: Documentation-only deprecation.
3598
+ -->
3599
+
3600
+ Calling ` Hmac ` class directly with ` Hmac() ` or ` new Hmac() ` is
3601
+ deprecated due to being internals, not intended for public use.
3602
+ Please use the [ ` crypto.createHmac() ` ] [ ] method to create Hmac instances.
3603
+
3591
3604
[ NIST SP 800-38D ] : https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
3592
3605
[ RFC 6066 ] : https://tools.ietf.org/html/rfc6066#section-3
3593
3606
[ RFC 8247 Section 2.4 ] : https://www.rfc-editor.org/rfc/rfc8247#section-2.4
@@ -3625,6 +3638,7 @@ deprecated due to being internals, not intended for public use.
3625
3638
[ `crypto.createCipheriv()` ] : crypto.md#cryptocreatecipherivalgorithm-key-iv-options
3626
3639
[ `crypto.createDecipheriv()` ] : crypto.md#cryptocreatedecipherivalgorithm-key-iv-options
3627
3640
[ `crypto.createHash()` ] : crypto.md#cryptocreatehashalgorithm-options
3641
+ [ `crypto.createHmac()` ] : crypto.md#cryptocreatehmacalgorithm-key-options
3628
3642
[ `crypto.fips` ] : crypto.md#cryptofips
3629
3643
[ `crypto.pbkdf2()` ] : crypto.md#cryptopbkdf2password-salt-iterations-keylen-digest-callback
3630
3644
[ `crypto.randomBytes()` ] : crypto.md#cryptorandombytessize-callback
You can’t perform that action at this time.
0 commit comments