encoide/decode sync key into preferred display format