Commit e7725f72ecd3e4c7286e5c01537affc86fceb057
1 parent
a1b7fb5673
Exists in
master
debug sig
Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff
partner-datacell.js
... | ... | @@ -14,7 +14,9 @@ var sleep_before_retry = 2000; |
14 | 14 | |
15 | 15 | function calculateSignature(userid, password, msisdn, timestamp) { |
16 | 16 | var a = msisdn.substr(msisdn.length - 4) + timestamp; |
17 | + console.log(a); | |
17 | 18 | var b = userid.substr(0, 4) + password; |
19 | + console.log(b); | |
18 | 20 | |
19 | 21 | return xor.encode(a,b); |
20 | 22 | } |