Caesar and encoding with block spaces
Thanks for looking at this post!
In my java class we are doing some of our first encoding with the caesar and the caesar cipher, and our instructor wants to add something to it. The added part is the part I'm confused about. They are calling it a blockOut() and it is supposed to put a space every five letters when the program encodes the word the user enters as well and put a space every five letters when the word is decoded. Any help is greatly appreciated!
Attached is my current program with part of the blockOut() in the CaesarVariation class. The Caesar class is my class that contains the actual encoding and decoding. And then there is the applet.