Skip to main content
function setFips
setFips(bool: boolean): void
Deprecated

Enables the FIPS compliant crypto provider in a FIPS-enabled Node.js build. Throws an error if FIPS mode is not available.

Parameters

bool: boolean

true to enable FIPS mode.

Return Type

void
Back to top