The halide mediated electro-oxidation of ammonia, cyanide, cyanate and thiocyanate in mine/mill waste waters