Revision db19ef39
Added by Leszek Koltunski over 4 years ago
build.gradle | ||
---|---|---|
15 | 15 |
applicationId "org.distorted.magic" |
16 | 16 |
minSdkVersion 21 |
17 | 17 |
targetSdkVersion 29 |
18 |
versionCode 13
|
|
19 |
versionName "1.3.4"
|
|
18 |
versionCode 14
|
|
19 |
versionName "1.3.5"
|
|
20 | 20 |
} |
21 | 21 |
|
22 | 22 |
buildTypes { |
src/main/java/org/distorted/scores/RubikScoresDownloader.java | ||
---|---|---|
373 | 373 |
String timlist = scores.getUnsubmittedTimelist(); |
374 | 374 |
String country = scores.getCountry(); |
375 | 375 |
long epoch = System.currentTimeMillis(); |
376 |
String salt = "cuboid";
|
|
376 |
String salt = "cubold";
|
|
377 | 377 |
|
378 | 378 |
String url1="https://distorted.org/magic/cgi-bin/submit.cgi"; |
379 | 379 |
String url2 = "n="+name+"&v="+veri+"&r="+numRuns+"&p="+numPlay+"&i="+deviceID+"&e="+mVersion+"d"; |
380 | 380 |
url2 += "&o="+objlist+"&l="+lvllist+"&t="+timlist+"&c="+country+"&f="+epoch; |
381 | 381 |
url2 += "&oo="+RubikObjectList.getObjectList()+"&min=0&max="+MAX_LEVEL+"&lo="+MAX_PLACES; |
382 |
url2 += "&h="+computeHash( url2, salt.getBytes() ); |
|
382 |
url2 += "&h="+computeHash( url2+"d", salt.getBytes() );
|
|
383 | 383 |
|
384 | 384 |
return url1 + "?" + url2; |
385 | 385 |
} |
Also available in: Unified diff
We need to up the version to 1.3.5 - new release to AppInChina because of the previous commit