function setFips
Jump to headingsetFips(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.
Parameters Jump to heading
Jump to headingbool: boolean
true
to enable FIPS mode.
Return Type Jump to heading
void