The problem of gold and silver jewelry contact with seawater

If you are on vacation, jewelry is also essential, but he is worried about whether gold, K gold, emerald, and 925 silver should be brought to the seaside. Is it damaged to the jewelry in contact with the seawater? Please talk about it in detail!