An electrochemical synthesis of 2-acetoxy-2-amino acid and 3-acetoxy-3-amino acid derivatives.