public static void main(String[] args) {
        
        
        Scanner sc = new Scanner(System.in);
        System.out.print("Please enter the public key number(n):");
        long input_n = sc.nextLong();
        System.out.println();
        System.out.print("Please enter the public key value(e):");
        long input_e = sc.nextLong();
        System.out.println();
        BruteForce bf = new BruteForce(input_n,input_e);
        Key k = bf.bruteForceCrack();
        if(k == null) {
            System.out.println("The input key pair in not factorizable");
        }
        else {
            System.out.println("The private key(d,m) pair for the input is ("+ k.getDecryptKey() + "," + k.getM()+")");
        }
        while(true){
        	System.out.println("please input encrypt number:");
            long input = sc.nextLong();
            int letter = (int)RSA.modulo(input, k.getDecryptKey(), input_n);
            System.out.println("decrypt result is:"+letter);
            System.out.println("letter is:"+(char)letter);

        }
        
        
        
    }