Package pojo.util

Examples of pojo.util.DesEncrypter


    public String loadData(final String pass, final String name, String value) {
       
        try {
            // Create encrypter/decrypter class
            DesEncrypter encrypter = new DesEncrypter(pass);

            if(!name.equals("") && !value.equals("")){
                encrypter.add(name, value);
            }

            return encrypter.decrypt(encrypter.readFile());

        } catch (Exception e) {
            e.printStackTrace();
        }
View Full Code Here

TOP

Related Classes of pojo.util.DesEncrypter

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.