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 79992fe commit c70083cCopy full SHA for c70083c
lib/internal/crypto/util.js
@@ -696,9 +696,6 @@ function bigIntArrayToUnsignedInt(input) {
696
result |= input[n] << 8 * n_reversed;
697
}
698
699
- // Coerce the result to an unsigned 32-bit integer. Without this, a most
700
- // significant byte with the top bit set (e.g. [0x80, 0x00, 0x00, 0x01])
701
- // would be returned as a negative Int32 because of the signed `<<` operator.
702
return result >>> 0;
703
704
0 commit comments