diff options
-rw-r--r-- | doc/api/crypto.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/crypto.md b/doc/api/crypto.md index e5a271ad6d7..351f32c11f6 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -2308,8 +2308,8 @@ console.log(aliceSecret === bobSecret); added: v10.0.0 --> -* Returns: {boolean} `true` if and only if a FIPS compliant crypto provider is - currently in use. +* Returns: {number} `1` if and only if a FIPS compliant crypto provider is + currently in use, `0` otherwise. ### `crypto.getHashes()` <!-- YAML |