public void menuTextCrypt() {
        int choice;

        do {
            System.out.println("\n");
            System.out.println("Text Cryption Menu");
            System.out.println("Select Cryptology Type");
            System.out.println("----------------------\n");
            System.out.println("1 - Asymmetric Cryption");
            System.out.println("2 - Symmetric Cryption");
            System.out.println("3 - Back");
            System.out.print("Enter Number: ");
            while (!scanner.hasNextInt()) {
                System.out.print("That's not a number! Enter 1,2 or 3: ");
                scanner.next();
            }
            choice = scanner.nextInt();
        } while (choice < 1 || choice > 3);

        switch (choice) {
            case 1:
                this.menuTextAsym();
                break;
            case 2:
                this.menuTextSym();
                break;
            case 3:
                this.run();
                break;
            default:
                this.menuTextCrypt();
        }
    }