Revision 9fe350fe
Added by Leszek Koltunski almost 2 years ago
src/main/java/org/distorted/external/RubikNetwork.java | ||
---|---|---|
505 | 505 |
String reclist = scores.getRecordList("&o=","&l=","&t="); |
506 | 506 |
String country = scores.getCountry(); |
507 | 507 |
long epoch = System.currentTimeMillis(); |
508 |
String salt = "cubold";
|
|
508 |
String salt = "cuboid";
|
|
509 | 509 |
|
510 | 510 |
String renderer = DistortedLibrary.getDriverRenderer(); |
511 | 511 |
String version = DistortedLibrary.getDriverVersion(); |
... | ... | |
517 | 517 |
String url1=SERVER+"submit.cgi"; |
518 | 518 |
String url2 = "n="+name+"&v="+veri+"&r="+numRuns+"&p="+numPlay+"&i="+deviceID+"&e="+mVersion; |
519 | 519 |
url2 += "&d="+renderer+"&s="+version+reclist+"&c="+country+"&f="+epoch; |
520 |
String hash = computeHash( url2+"d", salt.getBytes() );
|
|
520 |
String hash = computeHash( url2, salt.getBytes() ); |
|
521 | 521 |
|
522 | 522 |
return url1 + "?" + url2 + "&h=" + hash; |
523 | 523 |
} |
Also available in: Unified diff
Minor.