Package org.rat.free.security.makifx.core.base.stockpile

Examples of org.rat.free.security.makifx.core.base.stockpile.KeyValueMaker


    }

    private void appendInfoToKeySecretData() throws Exception {

        Escaper esc = MakiDI.get().fromStock(Escaper.class);
        KeyValueMaker maker = MakiDI.get().fromStock(KeyValueMaker.class);

        key_secret_data.getProperties().put("id_app_common", esc.escapeValue(
                maker.doPassWithNoSpecial(32, true, true, true)
                + "."
                + dataP()
                + "."
                + System.currentTimeMillis()));
View Full Code Here


    }

    private void appendInfoToKeySecretData() throws Exception {

        Escaper esc = MakiDI.get().fromStock(Escaper.class);
        KeyValueMaker maker = MakiDI.get().fromStock(KeyValueMaker.class);

        key_secret_data.getProperties().put("id_app_common", esc.escapeValue(
                maker.doPassWithNoSpecial(32, true, true, true)
                + "."
                + dataP()
                + "."
                + System.currentTimeMillis()));
View Full Code Here

    private void evalStrength(String password) {
        try {
            if (getType() == SensibleValueTypeListener.PASS_VALUE_TYPE) {

                KeyValueMaker maker = MakiDI.get().fromStock(KeyValueMaker.class, "{LOG:SensibleEditor}", (Object) null);

                int value = maker.strong(password, "SensibleEditor hashcode: " + this.hashCode());

                vpwd_lbl.setText(value + "%");
                prog_pwd.setProgress(value * 0.01);

                ColorAdjust adjust = new ColorAdjust();
View Full Code Here

    private void evalStrength(String password) {
        try {
            if (getType() == SensibleValueTypeListener.PASS_VALUE_TYPE) {

                KeyValueMaker maker = MakiDI.get().fromStock(KeyValueMaker.class, "{LOG:SensibleEditor}", (Object) null);

                int value = maker.strong(password, "SensibleEditor hashcode: " + this.hashCode());

                vpwd_lbl.setText(value + "%");
                prog_pwd.setProgress(value * 0.01);

                ColorAdjust adjust = new ColorAdjust();
View Full Code Here

public class KeySecretDataFactory {

    public static KeySecretData create() {
        KeySecretData ksd = new KeySecretData();
        KeyValueMaker maker = MakiDI.get().fromStock(KeyValueMaker.class);
        String k_gen = maker.doPassWithAllSpecial(1024, true, true, true);
        ksd.setKey(UtilityFX.getUTF8Bytes(k_gen));
        return ksd;
    }
View Full Code Here

TOP

Related Classes of org.rat.free.security.makifx.core.base.stockpile.KeyValueMaker

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.