encoding\decoding input\output strings format (check readme)