Skip to main content
getFips - crypto - Node documentation
function getFips

Usage in Deno

import { getFips } from "node:crypto";
getFips(): 1 | 0

Return Type

1 | 0

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}.

Back to top