Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid signature again #1215

Closed
awojnowski opened this issue Aug 8, 2013 · 1 comment
Closed

Invalid signature again #1215

awojnowski opened this issue Aug 8, 2013 · 1 comment

Comments

@awojnowski
Copy link
Contributor

@awojnowski awojnowski commented Aug 8, 2013

Decryption function:

function kj(a) {
    a = a.split("");
    a = a.slice(2);
    var b = a[0];
    a[0] = a[18 % a.length];
    a[18] = b;
    a = a.slice(3);
    return a.join("")
};
@patrickslin
Copy link
Contributor

@patrickslin patrickslin commented Aug 8, 2013

new sig len 86 algo:

pairs:
1212C22C5559E88AC0F122A21EE1131083210F23DFCF2.A91FD047A924BCF260E0CBE351738E9C766C81D8
22C5559E88AC0F112A21EE1131083210F23DFCF2.A91FD047A924BCF260E0CBE351738E9C766C81D8

0808FC8F8601E908A2C3C1EF3137D99893C2C41236E7B.27BB47F10DB382EDD03C16C4FB186AAC42BA76D0
C8F8601E908A2C301EF3137D99893C2C41236E7B.27BB47F10DB382EDD03C16C4FB186AAC42BA76D0

python:
s[5:20] + s[2] + s[21:]

javascript:
s.slice(5, 20).join('') + s[2] + s.slice(21).join('')

@phihag phihag closed this in 02cf62e Aug 8, 2013
phihag added a commit that referenced this issue Aug 8, 2013
Invalid signature again (fixes #1215)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.