Project

General

Profile

« Previous | Next » 

Revision 57b4f567

Added by Leszek Koltunski over 3 years ago

Minor.

View differences:

src/main/java/org/distorted/network/RubikNetwork.java
420 420
    String reclist = scores.getRecordList("&o=","&l=","&t=");
421 421
    String country = scores.getCountry();
422 422
    long epoch = System.currentTimeMillis();
423
    String salt = "cubold";
423
    String salt = "cuboid";
424 424

  
425 425
    String url1="https://distorted.org/magic/cgi-bin/submit.cgi";
426 426
    String url2 = "n="+name+"&v="+veri+"&r="+numRuns+"&p="+numPlay+"&i="+deviceID+"&e="+mVersion+"d";
427 427
    url2 += reclist+"&c="+country+"&f="+epoch+"&oo="+ ObjectList.getObjectList();
428 428
    url2 += "&min=0&max="+MAX_LEVEL+"&lo="+MAX_PLACES;
429
    String hash = computeHash( url2+"d", salt.getBytes() );
429
    String hash = computeHash( url2, salt.getBytes() );
430 430

  
431 431
    return url1 + "?" + url2 + "&h=" + hash;
432 432
    }

Also available in: Unified diff