DEP0181:Hmac 构造函数


🌐 DEP0181: Hmac constructor

类型:运行时

🌐 Type: Runtime

直接使用 Hmac()new Hmac() 调用 Hmac 类已被弃用,因为它属于内部实现,不打算用于公共用途。请使用 crypto.createHmac() 方法来创建 Hmac 实例。

🌐 Calling Hmac class directly with Hmac() or new Hmac() is deprecated due to being internals, not intended for public use. Please use the crypto.createHmac() method to create Hmac instances.