Revision 9e171f43
Added by Leszek Koltunski about 3 years ago
src/main/java/org/distorted/network/RubikNetwork.java | ||
---|---|---|
514 | 514 |
String reclist = scores.getRecordList("&o=","&l=","&t="); |
515 | 515 |
String country = scores.getCountry(); |
516 | 516 |
long epoch = System.currentTimeMillis(); |
517 |
String salt = "cubold";
|
|
517 |
String salt = "cuboid";
|
|
518 | 518 |
|
519 | 519 |
String renderer = DistortedLibrary.getDriverRenderer(); |
520 | 520 |
String version = DistortedLibrary.getDriverVersion(); |
... | ... | |
528 | 528 |
url2 += "&d="+renderer+"&s="+version; |
529 | 529 |
url2 += reclist+"&c="+country+"&f="+epoch+"&oo="+getObjectList(); |
530 | 530 |
url2 += "&min=0&max="+MAX_LEVEL+"&lo="+MAX_PLACES; |
531 |
String hash = computeHash( url2+"d", salt.getBytes() );
|
|
531 |
String hash = computeHash( url2, salt.getBytes() ); |
|
532 | 532 |
|
533 | 533 |
return url1 + "?" + url2 + "&h=" + hash; |
534 | 534 |
} |
Also available in: Unified diff
Minor.