FgetFips
Bun

function

crypto.getFips

function getFips(): 0 | 1;
@returns

1 if and only if a FIPS compliant crypto provider is currently in use, 0 otherwise. A future semver-major release may change the return type of this API to a {boolean}.