DESExample.java | Class | DESExample is a simple DES based encryptor/decryptor.
The program is command line driven, with the input
and output files specified on the command line.
java org.bouncycastle.crypto.examples.DESExample infile outfile [keyfile]
A new key is generated for each encryption, if key is not specified,
then the example will assume encryption is required, and as output
create deskey.dat in the current directory. |