First binary takes your wordlist than binary hashes them with encryption algorithm. After that, the program compares the hash value you entered as an argument with the hash value of wordlist. If the result of the comparison is correct, the unhashed value is displayed on the screen.
You should compile the code with cargo build --release
parameter. Then you can find the binary in release/sha1
.
You should give two argument. First one for wordlist. Second one for hash.
Usage: <wordlist.txt> <sha1_hash>