function
crypto.setFips
bool: boolean
): void;
Enables the FIPS compliant crypto provider in a FIPS-enabled Node.js build. Throws an error if FIPS mode is not available.
@param bool
true to enable FIPS mode.
function
Enables the FIPS compliant crypto provider in a FIPS-enabled Node.js build. Throws an error if FIPS mode is not available.
true to enable FIPS mode.