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.         CodigoCesar codigoCesar = new CodigoCesar();
  9.         System.err.println("Encriptamos el texto claro...");
  10.         System.out.println(codigoCesar.encriptarTextoClaro("PARIS VAUT BIEN UNE MESSE"));
  11.         System.err.println("Ahora desencriptamos el resultado que nos dio la encriptación anterior...");
  12.         System.out.println(codigoCesar.desencriptarTextoCifrado("SDULV YDXW ELHP XPH OHVVH"));
  13.     }
  14. }