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 27c414f commit f50b051Copy full SHA for f50b051
src/core.js
@@ -210,14 +210,11 @@ var CryptoJS = CryptoJS || (function (Math, undefined) {
210
var thatByte = (thatWords[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;
211
thisWords[(thisSigBytes + i) >>> 2] |= thatByte << (24 - ((thisSigBytes + i) % 4) * 8);
212
}
213
- } else if (thatWords.length > 0xffff) {
+ } else {
214
// Copy one word at a time
215
for (var i = 0; i < thatSigBytes; i += 4) {
216
thisWords[(thisSigBytes + i) >>> 2] = thatWords[i >>> 2];
217
218
- } else {
219
- // Copy all words at once
220
- thisWords.push.apply(thisWords, thatWords);
221
222
this.sigBytes += thatSigBytes;
223
0 commit comments