Simple java API showing few ways how can string can be encoded/decoded.