We are proudly hosted by Source Forge

Difro now uses wxWindows so it is cross-compilable. Come back soon for an updated page, as well as documentation.
Thanks,
-Jordan Wilberding

Difro Encryption Help

THIS FILE IS OUTDATED BUT MIGHT BE USEFUL, LOOK FOR AN UPDATE SOON.

Table Of Contents

1. Introduction
2. Compiling
3. Encrypting A File
4. Decrypting A File
5. Where To Download
6. Contacting Us



1.Introduction

About HELP file:
This file is meant to help you run Difro. This is the first version of this file and could prove to be difficult for some peope to understand, but soon the file will also include screen shots to show you exactly what to do.

What is Difro Encryption?:
Difro Encryption is an encryption program that uses a user inputed key to encrypt files. Thus, the only way someone can see your file once encrypted is if they had that same key. Right now it is just used for files, but also might be able to be applied to other forms of data transmission possibly, We don't know though, still have to try it yet! We hope this program is useful from both a developer point of view(for the source) and a user point of view(for the application). Difro is released under the BSD style license. Read the file LICENSE to view it. We hope you enjoy the program.

What is Encryption?:
NEED TO DO

2.Compiling

DOS
To compile in windows you have three choices:Micrsoft Visual C++, DJDPP, and Borland.

Microsoft Visual C++:
1. Just load encrypt.cpp encrypt.h and main.cpp into a workspace and compile to get the encrypt binary.
2. For the decrypt binary load encrypt.cpp encrypt.h and main2.cpp into a workspace and compile.
For one binary load encrypt.cpp encrypt.h and main-onebinary.cpp into a workspace and compile.

DJDPP:
Start by compiling the encrypt binary.
>g++ encrypt.cpp main.cpp -o encrypt.exe
Now we will compile the second binary.
>g++ encrypt.cpp main2.cpp -o decrypt.exe
If you want to compile with just one binary then use.
>g++ encrypt.cpp main-onebinary.cpp -o difro.exe

Borland:
Start by compiling the encrypt binary.
>bcc32 -I encrypt.cpp main.cpp
Now we will compile the second binary.
>bcc32 -I encrypt.cpp main2.cpp
If you want to compile with just one binary then use.
>bcc32 -I encrypt.cpp main-onebinary.cpp


Linux Console
The recommended compiler is g++. So we will first start by compiling the encrypt binary.
$g++ encrypt.cpp main.cpp -o encrypt
Now we will compile the second binary.
$g++ encrypt.cpp main2.cpp -o decrypt
If you want to compile with just one binary then use.
$g++ encrypt.cpp main-onebinary.cpp -o difro

Win32

Microsoft Visual C++:
The workspace files were created with Microsoft Visual C++ 6.0. So just open the difrovis.dsw workspace file. Otherwise just import the files to there respective spots and compile.

Linux GUI

Wine:
As of now the Linux GUI is not yet complete, but compiling will be through the use of using the windows source with Wine for Linux to create a Linux native binary.

3.Encrypting A File

Console

Two Binaries:
Execute the encrypt binary. You will be asked to enter 4 separate 5-digit keys.(IE:12345 12345 12345 12345) Remember this key. You will need it to decrypt the file. Next, you will be asked to enter an Input File. This is the file that you want to be encrypted. Just type in that path name (IE: C:/test.txt) or if the binary is in the directory as the file being encrypted all you would have to do is just type in the filename. (IE: test.txt) Now you will asked for an Output File. This is where the newly encrypted file will go. So just pick a name (IE: C:/test2.txt) Finally, assuming you have a file called "test.txt" it will be encrypted to the file test2.txt.

One Binary:
Run the single binary and choose option "1". You will be asked to enter 4 separate 5-digit keys.(IE:12345 12345 12345 12345) Remember this key. You will need it to decrypt the file. Next, you will be asked to enter an Input File. This is the file that you want to be encrypted. Just type in that path name (IE: C:/test.txt) or if the binary is in the directory as the file being encrypted all you would have to do is just type in the filename. (IE: test.txt) Now you will asked for an Output File. This is where the newly encrypted file will go. So just pick a name (IE: C:/test2.txt) Finally, assuming you have a file called "test.txt" it will be encrypted to the file test2.txt.

GUI

Linux/Windows:
Execute the binary. You will be asked to enter 4 separate 5-digit keys.(IE:12345 12345 12345 12345) Remember this key. You will need it to decrypt the file. Next click on the Input File button, you will then choose what file you want encrypted. Now you can hit the button Output File to choose what the name of the encrypted file will be. You can either pick and existing file and have it overwritten, or you can goto a directory and type in the name of file yourself where it says File Name. Now hit the Encrypt button, assuming you have valid file names the file will be encrypted if not, you will be given and error as to why.

4.Decrypting A File

Console

Two Binaries:
Execute the decrypt binary. You will be asked to enter the 4 separate 5-digit keys that you had used to encrypt the file. (IE:12345 12345 12345 12345) Next, you will be asked to enter an Input File. This is the file that you encrypted and want decrypted. Just type in that path name (IE: C:/test2.txt) or if the binary is in the directory as the file being decrypted all you would have to do is just type in the filename. (IE: test2.txt) Now you will asked for an Output File. This is where the newly encrypted file will go. So just pick a name (IE: C:/test.txt) Finally, assuming you have a file called "test2.txt" and the key is valid it will be decrypted to the file test.txt into its orignal form.(Note: even if an incorrect key is given the file will still be processed, but the file won't work)

One Binary:
Run the single binary and choose option "2". You will be asked to enter the 4 separate 5-digit keys that you had used to encrypt the file. (IE:12345 12345 12345 12345) Next, you will be asked to enter an Input File. This is the file that you encrypted and want decrypted. Just type in that path name (IE: C:/test2.txt) or if the binary is in the directory as the file being decrypted all you would have to do is just type in the filename. (IE: test2.txt) Now you will asked for an Output File. This is where the newly encrypted file will go. So just pick a name (IE: C:/test.txt) Finally, assuming you have a file called "test2.txt" and the key is valid it will be decrypted to the file test.txt into its orignal form.(Note: even if an incorrect key is given the file will still be processed, but the file won't work)

GUI

Linux/Windows:
Execute the binary. You will be asked to enter the 4 separate 5-digit keys that you had used to encrypt the file. (IE:12345 12345 12345 12345). Next click on the Input File button, you will then choose an encrypted file that you want decrypted. Now you can hit the button Output File to choose what the name of the decrypted file will be. You can either pick and existing file and have it overwritten, or you can goto a directory and type in the name of file yourself where it says File Name. Now hit the Decrypt button, assuming you have valid file names and a valid key the file will be encrypted if not, you will be given and error as to why.(Note: even if an incorrect key is given the file will still be processed, but the file won't work)

5.Where To Download

HTTP:

Website:
https://sourceforge.net/project/showfiles.php?group_id=19325
FTP:

Server: difro.sourceforge.net
Port: 21
User: Anonymous
Password: (not needed)
Directory: /pub/difro/

6.Contacting Us

If you have read through this whole file and are still have trouble, or you want to make comments or suggestions we can be helped(or help) by the following means:

Support

Either goto our support page:
https://sourceforge.net/support/?group_id=19325
Or post a message on the Help thread in our forum: https://sourceforge.net/forum/forum.php?forum_id=61134

Bug Reports/Fixes

Please report bug reports to https://sourceforge.net/bugs/?group_id=19325

Comments

Post your comments on the Comments/Suggestions thread in our forum: https://sourceforge.net/forum/forum.php?forum_id=61608

Unsolvable Problems

Email:
Jordan Wilberding reter7@hotmail.com
J.R. Wessels jwessels@cse.unl.edu