public static void genRSAKeysText(CryptobyConsole console) {
        final Scanner scanner = new Scanner(System.in);

        // Initial Variables
        int keySize;
        int choice;
        String publicKey;
        String privateKey;

        // Set Default Key Size
        keySize = 1024;

        do {
            System.out.println("\n");
            System.out.println("Choose Key  in Bit");
            System.out.println("-------------------------\n");
            System.out.println("1 - 1024");
            System.out.println("2 - 2048");
            System.out.println("3 - 4096");
            System.out.println("4 - Back");
            System.out.print("Enter Number: ");
            while (!scanner.hasNextInt()) {
                System.out.println("That's not a number! Enter 1,2,3 or 4:");
                scanner.next();
            }
            choice = scanner.nextInt();
        } while (choice < 1 || choice > 4);

        switch (choice) {
            case 1:
                keySize = 1024;
                break;
            case 2:
                keySize = 2048;
                break;
            case 3:
                keySize = 4096;
                break;
            case 4:
                console.menuGenKey();
                break;
            default:
                console.menuGenKey();
        }

        // Initial Key Generator
        console.getCore().getClient().setKeyAsymArt("RSA");
        console.getCore().initAsymKey();

        // Generate Keys
        console.getCore().getKeyGenAsym().initGenerator(keySize);
        publicKey = console.getCore().getKeyGenAsym().getPublicKey();
        privateKey = console.getCore().getKeyGenAsym().getPrivateKey();

        // Print Private Keys
        System.out.println(CryptobyHelper.printPrivateKeyBlock(privateKey));
        // Print Public Keys
        System.out.println(CryptobyHelper.printPublicKeyBlock(publicKey));

        // Enter for Continues
        CryptobyHelper.pressEnter();

        // Back to Menu Choose PrimeTest
        scanner.close();
        console.menuGenKey();
    }