发明名称 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.
申请公布号 US9235713(B2) 申请公布日期 2016.01.12
申请号 US201314040553 申请日期 2013.09.27
申请人 TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED 发明人 Chen Jianming;Zheng Xiaosheng
分类号 G06F21/60;G06F21/62;G06F21/78 主分类号 G06F21/60
代理机构 Morgan, Lewis & Bockius LLP 代理人 Morgan, Lewis & Bockius LLP
主权项 1. A method for encrypting an image performed at a handheld computer having a processor and memory for storing one or more programs to be executed by the processor, comprising: obtaining a size of header data of an image file; encrypting the header data; in the process of encrypting the header data, obtaining encrypted data corresponding to the header data; dividing the encrypted data into a first part and a second part based on a size of the header data and a size of the encrypted data; and obtaining an encrypted image file for the image file based on the encrypted data, comprising: replacing the header data in the image file with the first part of the encrypted data, a location information and an encryption identifier; andplacing the second part of the encrypted data to the end of the image file.
地址 Shenzhen, Guangdong Province CN