From bb78f657b4b809d1479543caa55f11751b173cc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Aur=C3=A8le=20DARCHE?= Date: Mon, 26 Sep 2016 21:01:24 +0200 Subject: [PATCH] doc: add added: info for crypto.timingSafeEqual() crypto.timingSafeEqual() has been added in v6.6.0 cf. #8304 This commit adds the metadata that will display "Added in: v6.6.0" and that can later be checked on https://nodejs.org/api/crypto.html#crypto_crypto_timingsafeequal_a_b PR-URL: https://github.com/nodejs/node/pull/8796 Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Teddy Katz Reviewed-By: Anna Henningsen --- doc/api/crypto.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 3f740071af..dc87454ed1 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -1418,6 +1418,9 @@ keys: All paddings are defined in `crypto.constants`. ### crypto.timingSafeEqual(a, b) + Returns true if `a` is equal to `b`, without leaking timing information that would allow an attacker to guess one of the values. This is suitable for