Wednesday, October 3, 2007

Smart Encryption Interface Login



Finally, i doing well for my viva. Thanks God...

Wednesday, August 29, 2007

The Blowfish Encryption Algorithm - GUI




Method blowfishDecrypt The normal entry to the decryption process. It is guaranteed to be called with enough bytes in the input to carry on a decryption of one full block. Because the Blowfish cipher engine is designed to handle two 32-bit blocks, this method's purpose is to transform on entry and exit the data to/from 32-bit blocks; ie. Java.int. The input becomes two 32-bit blocks as Left and Right halves onto which the Blowfish cipher function is applied ROUNDS times in reverse order to that of the encryption.



Method blowfishEncrypt The normal entry to the encryption process. It is guaranteed to be called with enough bytes in the input to carry on an encryption of one full block. The code of the Blowfish encryption engine, found here, is also replicated in the BF_encrypt method found later. The reason for this duplication is performance. This method, outputs the result in a byte array form, suitable for the user data encryption operations, while BF_encrypt outputs its result as an int array suitable for, and used during, the expansion of the user-key into a Blowfish session key.

Saturday, August 25, 2007

The Hello World Application

class HelloWorld {

public static void main (String args[]) {
System.out.println("Hello World!");
}

}

Save this code in a file called HelloWorld.java.

Friday, August 24, 2007

Example Interface

What is JAVA

Java (with a capital J) is a high-level, third generation programming language, like C, Fortran, Smalltalk, Perl, and many others. You can use Java to write computer applications that crunch numbers, process words, play games, store data or do any of the thousands of other things computer software can do.

Compared to other programming languages, Java is most similar to C. However although Java shares much of C's syntax, it is not C. Knowing how to program in C or, better yet, C++, will certainly help you to learn Java more quickly, but you don't need to know C to learn Java. Unlike C++ Java is not a superset of C. A Java compiler won't compile C code, and most large C programs need to be changed substantially before they can become Java programs.

What's most special about Java in relation to other programming languages is that it lets you write special programs called applets that can be downloaded from the Internet and played safely within a web browser. Traditional computer programs have far too much access to your system to be downloaded and executed willy-nilly. Although you generally trust the maintainers of various ftp archives and bulletin boards to do basic virus checking and not to post destructive software, a lot still slips through the cracks. Even more dangerous software would be promulgated if any web page you visited could run programs on your system. You have no way of checking these programs for bugs or for out-and-out malicious behavior before downloading and running them.

Java solves this problem by severely restricting what an applet can do. A Java applet cannot write to your hard disk without your permission. It cannot write to arbitrary addresses in memory and thereby introduce a virus into your computer. It should not crash your system.

Overview


A system used to encrypt data according to the type of data and able to select the best algorithm to perform the encryption. Using intelligent features.