Saturday, January 26, 2008

CRC Reverser Java Version

In una sfida di un gioco da Hackers a cui partecipo, il problema da risolvere era trovare una parola chiave a partire dal suo codice hash CRC32.
Allora, cercando su Internet, ho trovato un interessante blog di Bas Westerbaan. Da tale blog è possibile scaricare un programma scritto in python che trova tutte le parole che hanno un determinato codice hash CRC32.
Con questo programma ho risolto il mio problema... ma ora la prossima sfida per me era di tradurre tale programma da Python in Java, il mio linguaggio di programmazione preferito insieme a C# e Visual Basic.
Così, ho appreso le basi del linguaggio python ed ho tradotto tale programma.

Potete scaricare la versione Java di tale programma da qui.

Questo programma, come quello di Bas Westerbaan, è rilasciato sotto licenza GPL 2.

Come Usare il programma: java CrcReverser hash (in decimale o esadecimale con h prefisso, senza hash viene inizializzato automaticamente con 4157704578).

Esempio: java CrcReverser 4157704578 oppure java CrcReverser hf7d18982

Aggiornamento: Potete scaricare la nuova versione con interfaccia utente grafica da qui. Il codice sorgente è qui.




English
In a Hacker's Game challenge which I play, the problem to solve was to find a keyword from its CRC32 hash code.
Then, looking on the Internet, I found an interesting blog of Bas Westerbaan. From this blog is possible to download a program written in python that finds all the words with a specifc CRC32 hash code.
With this program I solved my problem... but now the next challenge for me was to translate this program from Python to Java, my favorite programming language with C# and Visual Basic.
So, I learned the basics of python language and I translated this program.

You can download the Java version of this program from here.

This program, like that of Bas Westerbaan, is released under GPL 2 license.

How to use the program: java CrcReverser hash (in decimal or hexadecimal with h prefix, without hash the default is 4157704578).

Exemple: java CrcReverser 4157704578 or java CrcReverser hf7d18982

Update: You can download the new version with GUI from here. The source code is here.

1 Comments:

At 6:16 PM, Anonymous Anonymous said...

quello che stavo cercando, grazie

 

Post a Comment

<< Home