DEP0117:本地加密处理器


🌐 DEP0117: Native crypto handles

类型:寿命终止

🌐 Type: End-of-Life

Node.js 的早期版本通过 CipherDecipherDiffieHellmanDiffieHellmanGroupECDHHashHmacSignVerify 类的 _handle 属性暴露了内部原生对象的句柄。由于不当使用原生对象可能导致应用崩溃,因此已移除了 _handle 属性。

🌐 Previous versions of Node.js exposed handles to internal native objects through the _handle property of the Cipher, Decipher, DiffieHellman, DiffieHellmanGroup, ECDH, Hash, Hmac, Sign, and Verify classes. The _handle property has been removed because improper use of the native object can lead to crashing the application.