Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 471da7d commit 6198d74Copy full SHA for 6198d74
doc/api/crypto.md
@@ -3068,7 +3068,11 @@ comparing HMAC digests or secret values like authentication cookies or
3068
[capability urls](https://www.w3.org/TR/capability-urls/).
3069
3070
`a` and `b` must both be `Buffer`s, `TypedArray`s, or `DataView`s, and they
3071
-must have the same length.
+must have the same byte length.
3072
+
3073
+If at least one of `a` and `b` is a `TypedArray` with more than one byte per
3074
+entry, such as `Uint16Array`, the result will be computed using the platform
3075
+byte order.
3076
3077
Use of `crypto.timingSafeEqual` does not guarantee that the *surrounding* code
3078
is timing-safe. Care should be taken to ensure that the surrounding code does
0 commit comments