@@ -0,0 +1,923 @@
+/*%0D%0A * To change this license header, choose License Headers in Project Properties.%0D%0A * To change this template file, choose Tools %7C Templates%0D%0A * and open the template in the editor.%0D%0A */%0D%0Apackage cryptohelper.data;%0D%0A%0D%0Aimport cryptohelper.interfaces.CalcolatoreMappatura;%0D%0A%0D%0A/**%0D%0A *%0D%0A * @author Sasha Alexandru Podgoreanu%0D%0A */%0D%0Apublic class CalcolatoreParolaChiave extends CalcolatoreMappatura %7B%0D%0A%0D%0A    @Override%0D%0A    public Mappatura calcola(String chiave) %7B%0D%0A        chiave = chiave.toLowerCase();%0D%0A        if (containsDigit(chiave)) %7B%0D%0A            return null;%0D%0A        %7D%0D%0A        Mappatura m = new Mappatura();%0D%0A        char%5B%5D res = new char%5B26%5D;%0D%0A        for (int i = 0; i %3C chiave.length(); i++) %7B%0D%0A            res%5Bi%5D = chiave.charAt(i);%0D%0A        %7D%0D%0A        m.setMappaInversa(res);%0D%0A        return m;%0D%0A    %7D%0D%0A%0D%0A    private boolean containsDigit(String string) %7B%0D%0A        return string.matches(%22.*%5C%5Cd.*%22);%0D%0A    %7D%0D%0A%7D%0D%0A

Revert "Merge origin/master"