Package com.upgradingdave.encryption

Examples of com.upgradingdave.encryption.JasyptExample


    public static void main(String[] args){

        Encrypt encrypt = new Encrypt(Encrypt.class.getSimpleName(), Encrypt.class.getSimpleName().toLowerCase());
        encrypt.parseArgs(args);

        JasyptExample j = new JasyptExample(encrypt.getPassword());
        System.out.println("Encrypted Message: ");
        System.out.println(j.encrypt(encrypt.getMessage()));

    }
View Full Code Here


    public static void main(String[] args){

        Decrypt decrypt = new Decrypt(Decrypt.class.getSimpleName(), Decrypt.class.getSimpleName().toLowerCase());
        decrypt.parseArgs(args);

        JasyptExample j = new JasyptExample(decrypt.getPassword());
        System.out.println("Decrypted Message: ");
        System.out.println(j.decrypt(decrypt.getMessage()));

    }
View Full Code Here

TOP

Related Classes of com.upgradingdave.encryption.JasyptExample

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.