chore: sync ncrypto from Node.js v26.1.0 (#46)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Filip Skokan panva.ip@gmail.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
Node.js crypto (ncrypto) library
The
ncryptolibrary extracts the base internal implementation of Node.js crypto operations that support bothnode:cryptoand Web Crypto implementations and makes them available for use in other projects that need to emulate Node.js’ behavior.Compatibility
ncryptocan be built with either Bazel or CMake.ncryptosupports linking to eitherboringssloropenssl.Build flags
--@ncrypto//:bssl_libdecrepit_missing=True-DNCRYPTO_BSSL_LIBDECREPIT_MISSING=1If linking against
boringssl, libdecrepit is an optional component that isn’t always built. If this option is set,ncryptowill use a built-in replacement for the missing functions.