Skip to content

Commit

Permalink
试试行不行
Browse files Browse the repository at this point in the history
  • Loading branch information
shenjackyuanjie committed Dec 8, 2024
1 parent 338586d commit 1d448db
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions branch/latest/md5.js
Original file line number Diff line number Diff line change
Expand Up @@ -8467,15 +8467,24 @@ Y.RC4.prototype = {
n() {
// nextByte
// next byte from ShadowR
var _this = this,
r = _this.a = _this.a + 1 & 255,
q = _this.b,
p = _this.c,
o = p[r]
q = _this.b = q + o & 255
p[r] = p[q]
p[q] = o
return p[p[r] + p[q] & 255]
// var _this = this,
// r = _this.a = _this.a + 1 & 255,
// q = _this.b,
// p = _this.c,
// o = p[r]
// q = _this.b = q + o & 255
// p[r] = p[q]
// p[q] = o
// return p[p[r] + p[q] & 255]

const r = this.a = (this.a + 1) & 255;
let q = this.b;
const p = this.c;
const o = p[r];
q = this.b = (q + o) & 255;
p[r] = p[q];
p[q] = o;
return p[(p[r] + p[q]) & 255];
}
}
var HtmlRenderer = {
Expand Down

0 comments on commit 1d448db

Please sign in to comment.