GTA-Center.com » Forum http://www.gta-center.com/forums/ |
|
[HELP]udb_hash http://www.gta-center.com/forums/viewtopic.php?f=41&t=1476 |
Pagina 1 di 1 |
Autore: | scienziato-pazzo [ 23/10/2011, 10:28 ] |
Oggetto del messaggio: | [HELP]udb_hash |
Salve ragazzi, vorrei decodificare l'udb_hash (questo:) Codice: stock udb_hash(buf[]) { new length=strlen(buf); new s1 = 1; new s2 = 0; new n; for (n=0; n<length; n++) { s1 = (s1 + buf[n]) % 65521; s2 = (s2 + s1) % 65521; } return (s2 << 16) + s1; } Sapete come fare? Grazie in anticipo |
Autore: | Giovanni94m [ 23/10/2011, 16:38 ] |
Oggetto del messaggio: | Re: [HELP]udb_hash |
Qualsiasi hash è una cifratura a senso unico, quindi non dovrebbe esserci un metodo per ricavare la stringa originale. Per questo viene usato per le password. |
Pagina 1 di 1 | Tutti gli orari sono UTC + 1 ora [ ora legale ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |