Refine construction of salt string.