crypto.getFips()


  • 返回:<number> 当且仅当当前正在使用符合 FIPS 的加密提供商时为 1,否则为 0。未来的语义化主版本可能会将此 API 的返回类型更改为 <boolean>

    ¥Returns: <number> 1 if and only if a FIPS compliant crypto provider is currently in use, 0 otherwise. A future semver-major release may change the return type of this API to a <boolean>.