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

    Returns void

    v10.0.0