package fips140
import "crypto/fips140"
Index ¶
Functions ¶
func Enabled ¶
func Enabled() bool
Enabled reports whether the cryptography libraries are operating in FIPS 140-3 mode.
It can be controlled at runtime using the GODEBUG setting "fips140". If set to "on", FIPS 140-3 mode is enabled. If set to "only", non-approved cryptography functions will additionally return errors or panic.
This can't be changed after the program has started.
Source Files ¶
- Version
- v1.24.1 (latest)
- Published
- Feb 27, 2025
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 1 second ago –
Tools for package owners.