diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 7955cd897b0..df5bec58675 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -2273,8 +2273,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()`