This invention discloses a secure
encryption method for the
operating system kernel based on the AES
algorithm, relating to the fields of
operating system security and data
encryption technology. The method comprises the following steps: S1, traversing and scanning the data in the
operating system kernel, identifying sensitive data, and classifying it according to its sensitivity level; S2, generating an
encryption master key and hierarchical subkeys based on the AES
algorithm; S3, encrypting data of different sensitivity levels using AES encryption algorithms with different rounds and encryption
modes; S4, dynamically updating the key and encrypting and storing the updated key in the kernel secure
storage area; S5, adding a
checksum to the encrypted sensitive data and verifying
data integrity; S6, reading the corresponding key and decrypting the data to
complete data access. This invention significantly improves key security and
data integrity, effectively balances encryption efficiency and
system performance, has strong adaptability and high practicality, and is easy to promote and apply.