29 #include <QApplication>
30 #include <QCryptographicHash>
35 "MTN2000",
"MTN2000",
"MTN2000",
"MTN2000",
"MTN2000",
36 "MTN200",
"MTN200",
"MTN200",
38 "ORTOFOTOS",
"ORTOFOTOS",
"ORTOFOTOS",
"ORTOFOTOS"};
42 QByteArray array = str.toUtf8();
43 array = qCompress(array, 9);
46 int cnt = array.length();
48 array[pos] = array.at(pos) ^
cryptKeyVector.at(pos % 8) ^ lastChar;
49 lastChar = array.at(pos);
52 return QString::fromLatin1(array.toBase64());
57 QByteArray ba = QByteArray::fromBase64(str.toLatin1());
63 char currentChar = ba[pos];
65 lastChar = currentChar;
69 return QString::fromUtf8(qUncompress(ba));
75 QByteArray array = QCryptographicHash::hash(QString(
"taulabs.org").toLatin1(), QCryptographicHash::Md4);
76 for(uint
x = 0;
x < 3; ++
x) {
77 key += array.at(2 ^
x);
80 for (
int i = 0;
i < 8;
i++) {
82 for (
int j =
i; j > 0; j--)
88 VersionGoogleMap =
decrypt(
"hoaGv8cd7uEX4ukZ7RwTmmudkhqWmenlbRwZK3YqyRQQ7JFyMS1uE4kUlnX266hKmYTQo74yHjO5eXl5jPvrog==").split(
"%@%").at(1);;
90 VersionGoogleLabels =
decrypt(
"hoaGv8cd7uEX4ukZ7RwTmmudkhqWmenlbRwZK3YqyRQQ7JFyMS1uE4kUlnX266hKmYTQ4/9zX3L4ODg4zY2d2Q==").split(
"%@%").at(1);
91 VersionGoogleTerrain =
decrypt(
"hoaGucEb6OcR5O8f6xoVnG2blByQn+/jaxofLXAszxIW6pd0NytoFY8SkHPw7a5Mn4LWnYGNAI1/9ellSWRoqC4ucLqrbw==").split(
"%@%").at(1);
124 gMapRegex =
decrypt(
"hoaG36d9joF3gol5jXxz+gv98nr2+YmFDXx5SxZKqXRwjPESUU0Oc+l09hVodXaUR1oOPXc9N73We496CULIJcCSZrRHtGcUwDWnVCfSGVO3WygCiQNuHYay0II2AgP2YX2a").split(
"%@%").at(1);
125 gLabRegex =
decrypt(
"hoaG36d9joF3gol5jXxz+gv98nr2+YmFDXx5SxZKqXRwjPESUU0Oc+l09hWU0GzGw6nvpu+uH6KxD3EfVuea1tqE/oD+hMpguMq0GmQ9dPgDTSh5yKUjoGAspjAWFuT4YrE=").split(
"%@%").at(1);
126 gSatRegex =
decrypt(
"hoaG06txgo17joV1gXB/9gfx/nb69YWJAXB1RxpGpXh8gP0eXUECf+V4+hmah8Qm9ei8j8WPhQ9kyT3Ie0g6sdq56x/NPs0e67lM3i1e350q3LkPFSQNV0tLy1ZNdQ==").split(
"%@%").at(1);
127 gTerRegex =
decrypt(
"hoaG559FtrlPurFBtURLwjPFykLOwbG9NURBcy5ykUxItMkqaXU2S9FMzi2us/ASwdyIu/G7sTtQ/Qn8j8ROo0YU4DLBMuGSRrMh0qFUn9Ux3a6ED4XoozkNbz2JvchC5NDQOOT76g==").split(
"%@%").at(1);
129 gAPIUrl =
decrypt(
"hoaGGGC6nxXS3B4+Ki9gM8LvlJnIHCpDlxJKFq6M0yHk1cHJKdR5lPwx/R68AYr0ksCdJV10tfOsgnGrAe8uQY0/2BjWdRe1ZLEYgshBOHc5NQQzFRHy4sYLhoh7kVkbeeplv+YSl/nwClU/WFO93dXStWpj8TR4zY9djqhp8t1D5w9YFn4S4pCXNLWCdg==").split(
"%@%").at(1);