@@ -3492,6 +3492,21 @@ Type: Documentation-only
3492
3492
Calling ` fs.Stats ` class directly with ` Stats() ` or ` new Stats() ` is
3493
3493
deprecated due to being internals, not intended for public use.
3494
3494
3495
+ ### DEP0181: ` Hmac ` constructor
3496
+
3497
+ <!-- YAML
3498
+ changes:
3499
+ - version: REPLACEME
3500
+ pr-url: https://github.com/nodejs/node/pull/51881
3501
+ description: Documentation-only deprecation.
3502
+ -->
3503
+
3504
+ Type: Documentation-only
3505
+
3506
+ Calling ` Hmac ` class directly with ` Hmac() ` or ` new Hmac() ` is
3507
+ deprecated due to being internals, not intended for public use.
3508
+ Please use the [ ` crypto.createHmac() ` ] [ ] method to create Hmac instances.
3509
+
3495
3510
[ NIST SP 800-38D ] : https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
3496
3511
[ RFC 6066 ] : https://tools.ietf.org/html/rfc6066#section-3
3497
3512
[ RFC 8247 Section 2.4 ] : https://www.rfc-editor.org/rfc/rfc8247#section-2.4
@@ -3531,6 +3546,7 @@ deprecated due to being internals, not intended for public use.
3531
3546
[ `crypto.createDecipher()` ] : crypto.md#cryptocreatedecipheralgorithm-password-options
3532
3547
[ `crypto.createDecipheriv()` ] : crypto.md#cryptocreatedecipherivalgorithm-key-iv-options
3533
3548
[ `crypto.createHash()` ] : crypto.md#cryptocreatehashalgorithm-options
3549
+ [ `crypto.createHmac()` ] : crypto.md#cryptocreatehmacalgorithm-key-options
3534
3550
[ `crypto.fips` ] : crypto.md#cryptofips
3535
3551
[ `crypto.pbkdf2()` ] : crypto.md#cryptopbkdf2password-salt-iterations-keylen-digest-callback
3536
3552
[ `crypto.randomBytes()` ] : crypto.md#cryptorandombytessize-callback
0 commit comments