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.