All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.main.java.com.vincomobile.fw.basic.tools.EncryptTool Maven / Gradle / Ivy

There is a newer version: 5.1.0-RELEASE
Show newest version
package com.vincomobile.fw.basic.tools;

public class EncryptTool {

    public static void main(String[] args) throws Exception {
        if (args.length != 2) {
            System.out.println("Numero de parámetros incorrecto");
            System.out.println("\tEjemplo:");
            System.out.println("\t\tcom.vincomobile.fw.tools \"Frase secreta\" \"Texto a encriptar\"");
            return;
        }
        System.out.println("Texto encriptado:");
        String text = Converter.encrypt(args[0], args[1]);
        System.out.println(text);
        System.out.println("Texto plano:");
        System.out.println(Converter.decrypt(args[0], text));
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy