Simple encryption software written in Java