Update Encrypt duplicates in a String