PlayFairCipher algorytham
Playfair is one of the popular cryptographic software security algorithms. This technique encrypts pairs of letters at a time and generates more secure encrypted text compare to the simple substitution cipher like Caesar. Implementation of playfaircipher:- package com.clg.PlayFair; import java.util.Scanner; public class PlayFairCipher { static char[][] Matrix = new char[5][5]; // A 5*5 matrix of letter based on a keywords static String Alphabats = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; static String cipher = ""; static String plain = ""; public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("Enter the plainText "); String plainText = sc.nextLine(); System.out.println("Enter the Key "); String key = sc.nextLine(); String encrypted = Encrypt(plainText, key); //Encrypt method return to plain text to cipher text System.out.println("Encrypted Massage"); Syste...