cpmap map creation from character pairs s2m: decoder (String -> Map) m2s: encoder (Map -> String) s2s: update encoded Map Example Function Input Output s2m v5i1 Map({'v'=>'5', 'i'=>'1'}) m2s Map({"3"=>"8", "0"=>"1"}) 3801 s2s i2,i1 i1