The wine that should accompany salty food is a sweet wine. The general principle of sweet wine is to pair them with food that contains less sweetness than them by this the sweet contracts with salt.
The combination of salty food and sweet wine makes the sweet wine taste less sweet and fruity, and the salty food less assertive.
Sweet wine strongly reduces the strong salty taste in food; when the combination of sweet and salt mix, the result is electrifying.
We are reducing the excessive saltness in food, which is canceled by the sweetness in the wine. The sweet and salty pairing also creates a balance in the combination of flavors.