deno.com
function setFips
#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.

Parameters #

#bool: boolean

true to enable FIPS mode.

Return Type #

void