Abstract:A method to construct secret authentication codes by using Cartesian codes is presented in the paper. On the condition of not changing the quantity of encoding rules, the proposed method uses Latin square to reconstruct the optimum Cartesian authentication codes into perfect secret authentication codes.