Sodium halide-switchable divergent electrochemical synthesis of sulfonyl chlorides and thiosulfonates from thiols | Synapse