public static void testMillerRabin(CryptobyConsole console){
        final Scanner scanner = new Scanner(System.in);
        // Initial Variables
        int rounds;
        String percent;
        BigInteger number;
        
        // Input Number for Primenumber Testing
        do {
            System.out.println("Set Primenumber to Test.");
            System.out.print("Please enter a positive number: ");
            while (!scanner.hasNextBigInteger()) {
                System.out.print("That's not a number! Enter a positive number: ");
                scanner.next();
            }
            number = scanner.nextBigInteger();
        } while (number.compareTo(BigInteger.ONE) < 0 );
        
        // Set the rounds of the Miller Rabin Test
        do {
            System.out.println("Set rounds parameter between 1 and 15.");
            System.out.print("Please enter the number of rounds: ");
            while (!scanner.hasNextInt()) {
                System.out.print("That's not a number! Enter a valid number: ");
                scanner.next();
            }
            rounds = scanner.nextInt();
        } while (rounds < 1 || rounds > 15);
        
        // Initial Miller Rabin Object
        console.getCore().getClient().setPrimTestArt("MillerRabin");
        console.getCore().getClient().setPrimetestrounds(rounds);
        console.getCore().initPrimeTest();
        
        // Get Result of Test
        if(console.getCore().getPrimetest().isPrime(number)) {
            percent = String.valueOf(console.getCore().getPrimetest().getProbability());
            System.out.println("\nResult: Number is probably a Primenumber, probability: "+percent+"%");
        } else {
            System.out.println("\nResult: Number is NOT a Primenumber");
        }
        
        // Back to Menu Choose PrimeTest
        System.out.println("\nGo back to Primetest Menu: Press Enter");
        CryptobyHelper.pressEnter();
        scanner.close();
        console.menuPrimeTest();
    }