Caesar and Vigenere ciphers in one program written in Java using Swing/Awt.
Prompts the user to choose a cipher and an option to whether enter a text or open a file for reading to be encrypted:
Then, prompts a user to enter a key for encryption and, according to options chosen, enter a text to encrypt or choose a file to be encrypted. Handles unsupported files and keys by popping up an error dialog. Upon success, encrypted text is shown on the same window: