uses multithreading to decrypt file that was appended with a sha256 check sum. A dictionary is used.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
leonnicolas a04ad4a5bf add License 4 years ago
LICENSE add License 4 years ago
Makefile rainbow values are saved in csv, but its very slow to convert sha to HEX 4 years ago
README.md works for larger files and threads are exit if pw was found. I do this with global variable. This should be thread safe as long as only one password matches (so ranbow table must be a set with no equal entries). 4 years ago
createRainbow.c hashes can be saved in binary. 4 years ago
cryptwrapper.h fix: set init vector iv to 0 with memset. Else everytime you encrypt, a diffrent data set is generated 4 years ago
crypwrapper.c some code cleaning 4 years ago
decrypt.c some code cleaning 4 years ago
encrypt.c some code cleaning 4 years ago
rainbowvalue.h either rainb or brutf dosnt work anymore 4 years ago
readBulk.c some code cleaning 4 years ago
readBulk.h either rainb or brutf dosnt work anymore 4 years ago

README.md

compile with make

usage: ./rainb file.txt to create rainbow table ./encryptf file password to encrypt file with passwort(the sha256 hash is used) ./brutef file.txt.sha256 file.encry to decrypt

fix: does not work with larger files (>60840bytes) and all threads continue calculating even if password was found