Posts

Showing posts with the label Vigenere Cipher

Vigenere Cipher in Java

/* Dalibor Labudovic */ /* Not 100% stable but work ok*/ package cs3550; import java.util.Scanner; public class vigenerecipher {     public static void main(String[] args) {         @SuppressWarnings("resource")         Scanner input = new Scanner(System.in);                         System.out.println("Encyption...");         System.out.println("Enter Pass Phrase: ");         String phrase = input.nextLine();         System.out.println("Enter plain Text: ");         String plain = input.nextLine();         System.out.print("Here is the encryption: ");         String enc = encrypt(plain, phrase);     ...