Mechanism of damage in sodium chloride contaminated materials