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.