Sodium hypochlorite can also be generated onsite by electrolysis of sodium chloride solution in specialized proprietary equipment. The only supplies required are common salf and electricity. Hydrogen is given off as a by-product and must be safely dispersed.