This invention discloses a multi-factor dynamic identity
authentication method based on the national cryptographic
algorithm, comprising: generating a public-private key pair and a symmetric key according to the national cryptographic
algorithm; performing cryptographic operations on
verification factors using the generated key and the SM3 national cryptographic
algorithm; in the first
authentication stage, the terminal generates a non-repeating random number, combines it with hash and XOR operations to generate a dynamic
password, encrypts the dynamic
password using a symmetric cryptographic algorithm, and simultaneously encrypts the symmetric key using an asymmetric cryptographic algorithm, sending it along with the encrypted dynamic
password to the power distribution gateway for identity
authentication; in the second authentication stage, the power distribution gateway generates a new non-repeating random number, performs hash and XOR operations on the decrypted data to generate a new dynamic password, encrypts it using the symmetric key, and sends it to the smart terminal for identity authentication. This invention can
resist common attacks such as man-in-the-middle attacks, replay attacks, and impersonation attacks, and the method does not require the installation of additional hardware or the issuance of digital certificates, reducing costs and simplifying operation and maintenance.