I am doing a science project comparing how different ciphers withstand bit flipping/removal.
The files will be corrupted separately (by me with a hex editor), so don't include any checksums or anything similar.
Could anyone make a class that uses javax.crypto to encrypt a file using AES, DES, and Blowfish such that it can be executed by a command like
Code:
java crypt (AES|Blowfish|DES) (encrypt|decrypt) key fileIn fileOut
Please try to keep it in a single .java file.
(I'd like to be able to see the source.)