Program made in Python which does en- and decoding for input string. This'll be ported to Java.