Softwareentwickler C++
für IT Security in Bochum gesucht ( m/w )
void decrypt(char *secret, const int *key)
{
if (strlen(secret) % 6 != 0)
throw logic_error("Invalid length of encrypted text");
char *p = secret;
const int *k = key;
while (*p != 0)
{
const int mask = 0x3fffffff;
const int x = (p[0] - 0x40) | ((p[1] - 0x40) << 5) | ((p[2] - 0x40) << 10) |
((p[3] - 0x40) << 15) | ((p[4] - 0x40) << 20) | ((p[5] - 0x40) << 25);
const int k1 = *k++ & mask, k2 = *k++ & mask;
int y = (k1 * x + k2) & mask;
*p++ = (y & 0x1f) + 0x40; y >>= 5; *p++ = (y & 0x1f) + 0x40; y >>= 5;
*p++ = (y & 0x1f) + 0x40; y >>= 5; *p++ = (y & 0x1f) + 0x40; y >>= 5;
*p++ = (y & 0x1f) + 0x40; y >>= 5; *p++ = (y & 0x1f) + 0x40;
if (*k == 0)
k = key;
}
}
char secret1[ ] = "RPGQ][R_BHMZARRENOEGOYWAPOUT_P_SV@XSCULV[B\\T^FUOGS]ARO";
decrypt(secret1, secretKey)
-> "G_DATA_ANTIVIRUS_SOFTWARE_MIT_DOUBLE_SCAN_TECHNOLOGIE_"
char secret2[ ] = "GMQPVWH^C[\\V_GQSJRQCO[W]RDLRFXQB^MCR";
decrypt(secret2, secretKey)
-> ???
Geknackt? Dann senden Sie Ihre Lösung mit der Bewerbung an uta.fendt@gdata.de.
Über uns:
Diversifikation, eine spannende Unternehmenskultur mit einem Höchstmaß an
Mitarbeiterorientierung, flexible Organisationsstrukturen und Gründerspirit
in einem etablierten, gesunden Unternehmen sind unser Garant für eine
Zukunft mit Sicherheit. Weiterbildung ist für uns nicht nur ein leeres Wort,
unsere G Data Academy wird Sie in Ihrer persönlichen Weiterentwicklung
unterstützen.
Für eine erste Kontaktaufnahme stehe ich Ihnen gerne zur Verfügung. Bei
Interesse senden Sie bitte Ihre aussagekräftigen und vollständigen
Unterlagen inklusive Angaben zum Erfahrungsprofil, dem Gehalt und
Kündigungsfrist per E-Mail in einem PDF an personal@gdata.de
Geschützt. Geschützter. G Data.