The invention provides an
algorithm and key
library generation and updating method, and belongs to the technique of
computer network communication and the field of
information security. The method comprises the steps of generating an
algorithm and key
library through configuration of a safe
management system, wherein the
algorithm and key
library is composed of an algorithm serial number, an algorithm, a key serial number, a key and a strategy identifier; calculating an increment factor according to the algorithm and key library and the initial version of the algorithm and key library, and issuing the increment factor to an
encryption / decryption
server; and generating the new version of the algorithm and key library by the
encryption / decryption
server through PCode operation according to the increment factor and the initial version of the algorithm and key library. The initial version of the algorithm and key library provided by the method is encrypted and then is stored in a
database, the security is high and the storage quantity is high. According to the method, the increment factor can be generated randomly; the algorithm and key library can be updated flexibly; the algorithm and key library is safe and reliable; even if a key is intercepted by an attacker;
data information contents will not be leaked; the
cracking difficulty is increased; the security of
data information transmission and
user privacy is improved; and the method is high in popularization and implementation value.