Electrolyte rejection from charged nanoporous material