commit 1fa599b882eb538e7bc0cf3a94ec8f8df301674d
Author: Leszek Koltunski <leszek@koltunski.pl>
Date:   Thu Mar 23 14:35:08 2023 +0100

    Rollback to targetSDK 32 as we are still not able to upload 33-built app to the Play Store without Google complaining about AD_ID.

diff --git a/build.gradle b/build.gradle
index 3e148e9f..2aa85ea9 100644
--- a/build.gradle
+++ b/build.gradle
@@ -9,12 +9,12 @@ android {
             keyAlias = 'distorted'
         }
     }
-    compileSdkVersion 33
+    compileSdkVersion 32
 
     defaultConfig {
         applicationId "org.distorted.magic"
         minSdkVersion 21
-        targetSdkVersion 33
+        targetSdkVersion 32
         versionCode 72
         versionName "1.12.5"
     }
diff --git a/src/main/java/org/distorted/external/RubikNetwork.java b/src/main/java/org/distorted/external/RubikNetwork.java
index 30280eb9..690ed431 100644
--- a/src/main/java/org/distorted/external/RubikNetwork.java
+++ b/src/main/java/org/distorted/external/RubikNetwork.java
@@ -505,7 +505,7 @@ public class RubikNetwork
     String reclist = scores.getRecordList("&o=","&l=","&t=");
     String country = scores.getCountry();
     long epoch = System.currentTimeMillis();
-    String salt = "cuboid";
+    String salt = "cubold";
 
     String renderer = DistortedLibrary.getDriverRenderer();
     String version  = DistortedLibrary.getDriverVersion();
@@ -517,7 +517,7 @@ public class RubikNetwork
     String url1=SERVER+"submit.cgi";
     String url2 = "n="+name+"&v="+veri+"&r="+numRuns+"&p="+numPlay+"&i="+deviceID+"&e="+mVersion;
     url2 += "&d="+renderer+"&s="+version+reclist+"&c="+country+"&f="+epoch;
-    String hash = computeHash( url2, salt.getBytes() );
+    String hash = computeHash( url2+"d", salt.getBytes() );
 
     return url1 + "?" + url2 + "&h=" + hash;
     }
