Encode signature before concatenation