Revision c5268315
Added by Leszek Koltunski over 2 years ago
build.gradle | ||
---|---|---|
15 | 15 |
applicationId "org.distorted.magic" |
16 | 16 |
minSdkVersion 21 |
17 | 17 |
targetSdkVersion 31 |
18 |
versionCode 52
|
|
19 |
versionName "1.10.1"
|
|
18 |
versionCode 53
|
|
19 |
versionName "1.10.2"
|
|
20 | 20 |
} |
21 | 21 |
|
22 | 22 |
buildTypes { |
src/main/java/org/distorted/external/RubikNetwork.java | ||
---|---|---|
502 | 502 |
String reclist = scores.getRecordList("&o=","&l=","&t="); |
503 | 503 |
String country = scores.getCountry(); |
504 | 504 |
long epoch = System.currentTimeMillis(); |
505 |
String salt = "cuboid";
|
|
505 |
String salt = "cubold";
|
|
506 | 506 |
|
507 | 507 |
String renderer = DistortedLibrary.getDriverRenderer(); |
508 | 508 |
String version = DistortedLibrary.getDriverVersion(); |
... | ... | |
514 | 514 |
String url1="https://distorted.org/magic/cgi-bin/submit.cgi"; |
515 | 515 |
String url2 = "n="+name+"&v="+veri+"&r="+numRuns+"&p="+numPlay+"&i="+deviceID+"&e="+mVersion; |
516 | 516 |
url2 += "&d="+renderer+"&s="+version+reclist+"&c="+country+"&f="+epoch; |
517 |
String hash = computeHash( url2, salt.getBytes() ); |
|
517 |
String hash = computeHash( url2+"d", salt.getBytes() );
|
|
518 | 518 |
|
519 | 519 |
return url1 + "?" + url2 + "&h=" + hash; |
520 | 520 |
} |
Also available in: Unified diff
Bump to 1.10.2