Determination of salinity of saltwater