Tuesday, 27 August 2013

Water Jug Problem Java program

The java code for Water Jug Problem is given below.There are many solutions for it run the code to find all.

VIEW OUR SPECIAL PAGE ON, " ROBOTICS AND ARTIFICIAL INTELLIGENCE " FOR SEM 7 STUDENTS -  Robotics and Artificial Intelligence

Thursday, 1 August 2013

System Security : C code for Playfair Cipher (Should be executed in Linux with gcc.)

The Playfair cipher or Playfair square is a manual symmetric encryption technique and was the first literal digraph substitution cipher. The scheme was invented in 1854 by Charles Wheatstone, but bears the name of Lord Playfair who promoted the use of the cipher.
The technique encrypts pairs of letters (digraphs), instead of single letters as in the simple substitution cipher and rather more complex Vigenère ciphersystems then in use. The Playfair is thus significantly harder to break since the frequency analysis used for simple substitution ciphers does not work with it. Frequency analysis can still be undertaken, but on the 600 possible digraphs rather than the 26 possible monographs. The frequency analysis of digraphs is possible, but considerably more difficult – and it generally requires a much larger ciphertext in order to be useful.


VIEW OUR SPECIAL PAGE FOR SEM 7 STUDENTS -  sem 7 java codes

System Security : C code for Transposition Cipher (should be executed in linux with gcc)

In cryptography, a transposition cipher is a method of encryption by which the positions held by units of plaintext (which are commonly characters or groups of characters) are shifted according to a regular system, so that the ciphertext constitutes a permutation of the plaintext. That is, the order of the units is changed. Mathematically a bijective function is used on the characters' positions to encrypt and an inverse function to decrypt.


VIEW OUR SPECIAL PAGE FOR SEM 7 STUDENTS -  sem 7 java codes