FooCrypt, A Tale Of Cynical Cyclical Encryption

CLI_Test C.L.I. Examples

  • CLI_Test performs the following Command Line Interface tests against any OpenSSL version.
  • Be sure to set your LD_LIBRARY_PATH accordingly
-> /opt/FooCrypt/CLI_Test

Encrypted FooKey Encryption of test ASCII file

STATUS  : Command : /opt/FooCrypt/FooCrypt \ 
STATUS  : Command : -O "/usr/bin/openssl" \ 
STATUS  : Command : -a FooCrypt-aes256 \ 
STATUS  : Command : -p "/opt/FooCrypt/Scripts/Data/FooKey/FooKey_Demo_Key_Encrypted_Test512.FooKey" \ 
STATUS  : Command : -P FooCrypt-aes256:Ask:None \ 
STATUS  : Command : -i "/home/FooCrypt/FooCrypt//20190820170803_foocrypt.4.0.0.core.live.linux_CLI_Test/InFile" \ 
STATUS  : Command : -o "/home/FooCrypt/FooCrypt//20190820170803_foocrypt.4.0.0.core.live.linux_CLI_Test/InFile.enc" \ 
STATUS  : Command : -k \ 
STATUS  : Command : -e

Encrypted FooKey Decryption of encrypted test ASCII file

STATUS  : Command : "/opt/FooCrypt/FooCrypt" \ 
STATUS  : Command : -O "/usr/bin/openssl" \ 
STATUS  : Command : -a FooCrypt-aes256 \ 
STATUS  : Command : -p "/opt/FooCrypt/Scripts/Data/FooKey/FooKey_Demo_Key_Encrypted_Test512.FooKey" \ 
STATUS  : Command : -P FooCrypt-aes256:Ask:None \ 
STATUS  : Command : -i "/home/FooCrypt/FooCrypt//20190820170803_foocrypt.4.0.0.core.live.linux_CLI_Test/InFile.enc" \ 
STATUS  : Command : -o "/home/FooCrypt/FooCrypt//20190820170803_foocrypt.4.0.0.core.live.linux_CLI_Test/InFile.dec" \ 
STATUS  : Command : -k \ 
STATUS  : Command : -d

UNIX diff of ASCII test file before & after encryption / decryption.

STATUS  : Command : diff "/home/FooCrypt/FooCrypt//20190820170803_foocrypt.4.0.0.core.live.linux_CLI_Test/InFile" "/home/FooCrypt/FooCrypt//20190820170803_foocrypt.4.0.0.core.live.linux_CLI_Test/InFile.dec"
STATUS  : TEST OK

ASCII FooKey Encryption of test ASCII file

STATUS  : Command : "/opt/FooCrypt/FooCrypt" \ 
STATUS  : Command : -O "/usr/bin/openssl" \ 
STATUS  : Command : -a FooCrypt-aes256 \ 
STATUS  : Command : -p "/opt/FooCrypt/Scripts/Data/FooKey/FooKey_Demo_Key_ASCII_Test512.FooKey" \ 
STATUS  : Command : -P FooCrypt-None:None:None \ 
STATUS  : Command : -i "/home/FooCrypt/FooCrypt//20190820170803_foocrypt.4.0.0.core.live.linux_CLI_Test/InFile" \ 
STATUS  : Command : -o "/home/FooCrypt/FooCrypt//20190820170803_foocrypt.4.0.0.core.live.linux_CLI_Test/InFile.enc" \ 
STATUS  : Command : -k \ 
STATUS  : Command : -e

ASCII FooKey Decryption of encrypted test ASCII file

STATUS  : Command : "/opt/FooCrypt/FooCrypt" \ 
STATUS  : Command : -O "/usr/bin/openssl" \ 
STATUS  : Command : -a FooCrypt-aes256 \ 
STATUS  : Command : -p "/opt/FooCrypt/Scripts/Data/FooKey/FooKey_Demo_Key_ASCII_Test512.FooKey" \ 
STATUS  : Command : -P FooCrypt-None:None:None \ 
STATUS  : Command : -i "/home/FooCrypt/FooCrypt//20190820170803_foocrypt.4.0.0.core.live.linux_CLI_Test/InFile.enc" \ 
STATUS  : Command : -o "/home/FooCrypt/FooCrypt//20190820170803_foocrypt.4.0.0.core.live.linux_CLI_Test/InFile.dec" \ 
STATUS  : Command : -k \ 
STATUS  : Command : -d

UNIX diff of ASCII test file before & after encryption / decryption.

STATUS  : Command : diff "/home/FooCrypt/FooCrypt//20190820170803_foocrypt.4.0.0.core.live.linux_CLI_Test/InFile" "/home/FooCrypt/FooCrypt//20190820170803_foocrypt.4.0.0.core.live.linux_CLI_Test/InFile.dec"
STATUS  : TEST OK

Standard OpenSSL Encryption of test ASCII file

STATUS  : Command : "/opt/FooCrypt/FooCrypt" \ 
STATUS  : Command : -O "/usr/bin/openssl" \ 
STATUS  : Command : -s \ 
STATUS  : Command : -a FooCrypt-aes256 \ 
STATUS  : Command : -P FooCrypt-None:Ask:None \ 
STATUS  : Command : -i "/home/FooCrypt/FooCrypt//20190820170803_foocrypt.4.0.0.core.live.linux_CLI_Test/InFile  
STATUS  : Command : -k \ 
STATUS  : Command : -e

Standard OpenSSL Decryption of encrypted test ASCII file

STATUS  : Command : "/opt/FooCrypt/FooCrypt" \ 
STATUS  : Command : -O "/usr/bin/openssl" \ 
STATUS  : Command : -s \ 
STATUS  : Command : -a FooCrypt-aes256 \ 
STATUS  : Command : -P FooCrypt-None:Ask:None \ 
STATUS  : Command : -i "/home/FooCrypt/FooCrypt//20190820170803_foocrypt.4.0.0.core.live.linux_CLI_Test/InFile.enc" \ 
STATUS  : Command : -o "/home/FooCrypt/FooCrypt//20190820170803_foocrypt.4.0.0.core.live.linux_CLI_Test/InFile.dec" \ 
STATUS  : Command : -k \ 
STATUS  : Command : -d

UNIX diff of ASCII test file before & after encryption / decryption.

STATUS  : Command : diff "/home/FooCrypt/FooCrypt//20190820170803_foocrypt.4.0.0.core.live.linux_CLI_Test/InFile" "/home/FooCrypt/FooCrypt//20190820170803_foocrypt.4.0.0.core.live.linux_CLI_Test/InFile.dec"
STATUS  : TEST OK