setFips

external fun setFips(bool: Boolean)(source)

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

Since

v10.0.0

Parameters

bool

true to enable FIPS mode.