DEP0179:Hash 构造函数


🌐 DEP0179: Hash constructor

类型:运行时

🌐 Type: Runtime

直接使用 Hash()new Hash() 调用 Hash 类已被弃用,因为它属于内部实现,不适合公开使用。请使用 crypto.createHash() 方法来创建 Hash 实例。

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