The application discloses a
password module and a synchronization method thereof, and the
password module comprises a random
number generator, a matrix
generating unit and a
key storage unit; wherein the random
number generator is used for generating a true random number as a matrix factor and a key value; the matrix
generating unit is used for presetting a matrix parameter, generating a key seed matrix and a matrix magic number through the matrix factor based on a preset matrix generating
algorithm and a magic number generating
algorithm; and the
key storage unit is used for storing the key seed matrix, the matrix factor and the matrix magic number. In the
password module, the user key is stored in the form of the key seed matrix, thereby saving the
key storage space; only the matrix factor is exchanged between the password modules, thereby ensuring the safety of the user key in the key synchronization process; the password module not only saves the key seed matrix of itself, but also can generate the key seed matrix of other password modules through the matrix factor, thereby completing the key calling and realizing the expansion of the key capacity after adding the password module.