OTP algorithm-based identity identification code generation and verification method
The invention relates to an OTP algorithm-based identity identification code generation and verification method, which comprises the steps that S1, after a client logs in successfully, time synchronization with a server is performed to ensure that the time of the client is consistent with that of th...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to an OTP algorithm-based identity identification code generation and verification method, which comprises the steps that S1, after a client logs in successfully, time synchronization with a server is performed to ensure that the time of the client is consistent with that of the server; S2, the server generates 10 groups of fixed and non-repeated prime numbers PN[], and numbering is sequentially carried out from 0 to 9; 10 groups of fixed and non-repeated OTP algorithm keys KEY[] are generated and numbered in sequence from 0 to 9; s3, the client initiates a parameter request to the server, and the server obtains a corresponding prime number and a secret key according to the UID of the client; s4, the client stores the prime number, the secret key and the serial numberlocally; s5, the client generates an identity identification code; s6, after the client generates the identification code according to the steps S1 to S5, the identification code is displayed in a two-dimensional code or bar |
---|