Count number of repeated characters from a String which is a palindrome and then calculate the product of those separate counts.

How will you count a number of repeated characters from a String which is a palindrome and then calculate the product of those separate counts? For example, if the String is ababa, the output should be the product of 3 a's and 2 b's which is 6. The program is implemented in Java. Algorithm: (1) … Continue reading Count number of repeated characters from a String which is a palindrome and then calculate the product of those separate counts.

Visual Cryptography Project in Java

Introduced by Moni Naor and Adi Shamir at EUROCRYPT 1994, Visual cryptography is a cryptographic technique which allows visual information (pictures, text, etc.) to be encrypted in such a way that decryption becomes a mechanical operation that may or may not require a computer. It is used to encrypt written material (printed text, handwritten notes, pictures, etc) in a … Continue reading Visual Cryptography Project in Java