tokens: The major application of electrodialysis has historically been the desalination of brackish water or seawater as an alternative to RO for potable water production and seawater concentration for salt production ( primarily in Japan ) .