diff --git a/doc/api/crypto.md b/doc/api/crypto.md index bd4fead3eb1917..3f783fbeadd305 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()`