@@ -3588,6 +3588,21 @@ 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
+ Type: Documentation-only
3601
+
3602
+ Calling ` Hmac ` class directly with ` Hmac() ` or ` new Hmac() ` is
3603
+ deprecated due to being internals, not intended for public use.
3604
+ Please use the [ ` crypto.createHmac() ` ] [ ] method to create Hmac instances.
3605
+
3591
3606
[ NIST SP 800-38D ] : https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
3592
3607
[ RFC 6066 ] : https://tools.ietf.org/html/rfc6066#section-3
3593
3608
[ RFC 8247 Section 2.4 ] : https://www.rfc-editor.org/rfc/rfc8247#section-2.4
@@ -3625,6 +3640,7 @@ deprecated due to being internals, not intended for public use.
3625
3640
[ `crypto.createCipheriv()` ] : crypto.md#cryptocreatecipherivalgorithm-key-iv-options
3626
3641
[ `crypto.createDecipheriv()` ] : crypto.md#cryptocreatedecipherivalgorithm-key-iv-options
3627
3642
[ `crypto.createHash()` ] : crypto.md#cryptocreatehashalgorithm-options
3643
+ [ `crypto.createHmac()` ] : crypto.md#cryptocreatehmacalgorithm-key-options
3628
3644
[ `crypto.fips` ] : crypto.md#cryptofips
3629
3645
[ `crypto.pbkdf2()` ] : crypto.md#cryptopbkdf2password-salt-iterations-keylen-digest-callback
3630
3646
[ `crypto.randomBytes()` ] : crypto.md#cryptorandombytessize-callback
0 commit comments