Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. package unsch.efpis.pruebas;
  2.  
  3. import unsch.efpis.metodo.*;
  4.  
  5. public class Pruebas {
  6.  
  7.     public static void main(String[] args) {
  8.  
  9.         Vigenere vigenere = new Vigenere();
  10.         System.err.println("Encriptamos el texto claro...");
  11.         System.out.println(vigenere.encriptarTextoClaro("PARIS VAUT BIEN UNE MESSE", "LOUP"));
  12.         System.err.println("Ahora desencriptamos el resultado que nos dio la encriptación anterior...");
  13.         System.out.println(vigenere.desencriptarTextoCifrado("AOMXD KUKE PCTX JHT WSNIO", "LOUP"));
  14.     }
  15. }