The configurable encryption now can work in a multithreaded environment. We cannot have a single instance. If we need to make it configurable, we'll need to create a factory.
New Factory class to make configurable the CharCrypter for SelectedChars.
Moved all CharCrypter classes to a new package.
Removed unneeded interface and simplify calls.
Assuming we know all the users of Encriptor class and we can modify its interface, we apply DIP configuring the charCrypters.
Removed method printWords from Encriptor class, as long as it's only used for debugging purposes.
Inject validator and created interface and class in new package. Modified Main class and Tests accordingly.
PimPam project with Enrique Amodeo
Modified naming in helper method.
Changed naming.