private void factorizeN() {
        for(long i = 2; i < Math.sqrt(n);++i) {
            if(n%i == 0) {
                long factor1 = i;
                long factor2 = n/i;
                crackedKey.setM((factor1 - 1) * (factor2 - 1));
                crackedKey.setDecryptKey(modulo_inverse(this.e,crackedKey.getM()));
                break;
            }
        }
    }