Disk encryption and decryption method and device, terminal equipment and storage medium
The invention discloses a disk encryption and decryption method and device, terminal equipment and a storage medium. The disk encryption and decryption method comprises the steps that a secret key file is generated through secret key content; encrypting a disk according to the secret key file to obt...
Gespeichert in:
Hauptverfasser: | , |
---|---|
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 discloses a disk encryption and decryption method and device, terminal equipment and a storage medium. The disk encryption and decryption method comprises the steps that a secret key file is generated through secret key content; encrypting a disk according to the secret key file to obtain an encrypted disk; writing the secret key file into a preset agreed file through a kernel according to the secret key file; and reading a secret key file provided by a kernel through a preset encryption and decryption program to decrypt and mount the encrypted disk, wherein the agreed file and the encryption and decryption program are agreed in advance. According to the method and the device, the problems that disk encryption is easy to discover and a decrypted file is difficult to store are solved, and the security and convenience of disk decryption are improved.
本申请公开了一种磁盘加解密方法、装置、终端设备以及存储介质,其磁盘加解密方法包括:通过秘钥内容生成秘钥文件;根据所述秘钥文件对磁盘进行加密,得到加密磁盘;根据所述秘钥文件,通过内核将秘钥文件写入预设的约定文件;通过预设的加解密程序读取内核提供的秘钥文件对所述加密磁盘进行解密挂载,所述约定文件和加解 |
---|