Sample: DESTester

The DESTester sample uses wires, triggers, and pipes to perform a simple processing task: encrypting or decrypting a block of data using DES. The DES engine used is available from OpenCores.org.

Usage Information

Usage: DESTester [d|e] key infile outfile
   [d|e]   - d to decrypt the input file.  e to encrypt it.
   key     - 64-bit hexadecimal string used for the key.
   infile  - an input file to encrypt/decrypt.
   outfile - destination output file.

Examples

C:\Work\destest>DESTester.exe e 1234567812345678 in out
------ DES Encrypt/Decrypt Tester in C# ------
Device firmware version: 3.1
Device serial number: 102200AA15
Device ID: Opal Kelly XEM3001
FrontPanel support is available.
Encrypting in ---> out

C:\Work\destest>DESTester.exe d 1234567812345678 out in.out
------ DES Encrypt/Decrypt Tester in C# ------
Device firmware version: 3.1
Device serial number: 102200AA15
Device ID: Opal Kelly XEM3001
FrontPanel support is available.
Decrypting out ---> in.outCode language: PHP (php)