Morgan, Lewis & Bockius LLP
Method, device, and system for encrypting and decrypting image
The present invention relates to the field of computers, and disclosed are a method, device, and system for encrypting and decrypting an image. The method for encrypting an image includes: encrypting a preset size of header data of a to-be-encrypted image, and obtaining an encrypted data corresponding to the header data; determining a storage location for saving the encrypted data, saving the encrypted data in the storage location, and acquiring an offset for saving the encrypted data; and placing the encryption identifier and the offset in a storage area of the preset size of the to-be-encrypted image, so as to encrypt the to-be-encrypted image. The system includes: a device for encrypting an image and a device for decrypting an image. The present invention is capable of improving the speed and efficiency of encrypting and decrypting an image.
TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
G G G G
G06F G06F G06F G06F
inventional additional inventional inventional
Xiaosheng Jianming
Zheng Chen