Encrypt and Decrypt data with DES
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.
trivernis ed4391da13 Change data to be stored in mutex when encrypting
Change data to be stored in a Mutex when encrypting with a dictionary to avoid decrypting the data twice for a result.
5 years ago
src Change data to be stored in mutex when encrypting 5 years ago
.gitignore Fix multithreading and update README 5 years ago
Cargo.lock Remove unused dependencies 5 years ago
Cargo.toml Remove unused dependencies 5 years ago
README.md Remove syntax highlighting from README 5 years ago

README.md

destools

Tools to encrypt and brute force decrypt with des.

Usage

USAGE:
    destools <SUBCOMMAND>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

SUBCOMMANDS:
    create-dictionary    Create a dictionary rainbow-table from a txt file
    decrypt              Decrypt a DES encoded file
    encrypt              Encrypt a file with des
    help                 Prints this message or the help of the given subcommand(s)

Example

# Encrypt test.txt to test.des
destools encrypt -i test.txt -o test.des --checksum-file test.sha256

# Create a rainbow table from passwords.txt
destools create-dictionary -i passwords.txt -o dictionary.csv

# Decrypt test.des
destools decrypt -i test.des -o decrypted.txt

# Try to brute force dercrypt test.des
destools decrypt -i test.des -o decrypted.txt -d dictionary.csv --checksum-file test.sha256