Image encryption method and device, image decryption method and device, electronic equipment and storage medium
The invention relates to an image encryption method and device, an image decryption method and device, electronic equipment and a storage medium. The image encryption method comprises: carrying out image channel separation on the image data of the original image, obtaining three-channel data, encryp...
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 image encryption method and device, an image decryption method and device, electronic equipment and a storage medium. The image encryption method comprises: carrying out image channel separation on the image data of the original image, obtaining three-channel data, encrypting the first channel data and/or the second channel data in the three channel data by using a preset key, and storing the preset key in third channel data; and performing image channel combination on the first channel data, the second channel data and the third channel data after preset key storage and channel data encryption are completed, thereby obtaining an encrypted image. According to the embodiment of the invention, the preset secret key can be stored in the encrypted image, the presetsecret key is prevented from being independently transmitted, so that the preset secret key is prevented from being leaked in the independent transmission process, the situation that once one secret key is leaked, the image c |
---|