The process involves immersing the substrate into an electrolyte solution and applying an electrical current. The electrical current causes oxidation and dissolution of the substrate material. By carefully controlling the electrical parameters and chemical composition of the electrolyte, highly precise nanostructures can be fabricated.