Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for message encryption and decryption

An encryption method and message technology, applied in the field of information security, can solve the problem of low security of IM messages and achieve the effect of improving security

Active Publication Date: 2019-10-25
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] During the research and practice of the prior art, the inventor of the present invention found that since the encryption program or encryption algorithm of the IM client is uniformly provided by the IM service provider, once the IM login information of the employees of the enterprise is stolen by illegal personnel, Then the illegal person can log in to the IM client on any terminal to view IM messages, resulting in relatively low security of IM messages

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for message encryption and decryption
  • Method and device for message encryption and decryption
  • Method and device for message encryption and decryption

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] This embodiment will be described from the perspective of a message encryption device. Specifically, the message encryption device may be integrated in a terminal or other devices that need to perform message encryption.

[0039] A method for encrypting a message, comprising: obtaining an encryption request for a message, the encryption request carrying an identifier of an encryption program and a key required for encryption; encrypting the message according to the encryption program corresponding to the identifier and the key, to obtain encrypted message; performing packet processing on the encrypted message to obtain a corresponding data packet, and sending the data packet to the network.

[0040] Such as Figure 2a As shown, the specific flow of the message encryption method can be as follows:

[0041] 101. Acquire an encryption request of a message, where the encryption request carries an encryption program identifier and a key required for encryption.

[0042] Fo...

Embodiment 2

[0066] According to the method described in Embodiment 1, an example will be given below for further detailed description.

[0067] In this embodiment, description will be made by taking the message encryption device integrated in the terminal and the encryption program as CSP as an example.

[0068] Wherein, the message encryption device may be installed in the terminal in the form of a client or other software, for example, it may be installed in an IM client of the terminal.

[0069] Such as image 3 As shown, the specific flow of the message encryption method can be as follows:

[0070] 201. The terminal sends a configuration information acquisition request to a server, where the configuration information acquisition request carries a login account of the IM client.

[0071] For example, after the IM client on the terminal logs in, a configuration information acquisition request is sent to the cloud server on the IM service, and the request carries the login account of t...

Embodiment 3

[0095] This embodiment will be described from the perspective of a message decryption device, and the message decryption device may be integrated in a terminal or other devices that need to perform message decryption.

[0096] A method for decrypting a message, comprising: obtaining a data packet through a network, and performing unpacking processing on the data to obtain an encrypted message; obtaining a decryption request for the encrypted message, the decryption request carrying the identifier of the decryption program and the encryption required for decryption key; decrypt the encrypted message according to the decryption program corresponding to the identifier and the key to obtain the decrypted message.

[0097] Such as Figure 4 As shown, the specific flow of the message decryption method can be as follows:

[0098] 301. Obtain a data packet through the network, and perform unpacking processing on the data packet, so as to obtain an encrypted message.

[0099] For exa...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the present invention discloses a message encryption and decryption method and device; the embodiment of the present invention adopts an encryption request for obtaining a message, and the encryption request carries the identification of the encryption program and the key required for encryption, and then, according to the identification corresponding to the The encryption program and the key encrypt the message to obtain an encrypted message, and group the encrypted message to obtain the corresponding data packet, and send the data packet to the network; this scheme can be used when sending the message to the network Before encrypting the message according to the specified encryption program and key, you can control the IM message in the enterprise to be viewed only on the terminal that has the encryption and decryption program and key specified by the enterprise installed. The program and the key cannot be viewed on the terminal, and compared with the prior art, the security of the IM message is improved, especially for an enterprise, the security of the IM message in the enterprise can be greatly improved.

Description

technical field [0001] The invention relates to the technical field of information security, in particular to a message encryption and decryption method and device. Background technique [0002] Nowadays, all kinds of data are flooding people's lives, all of which involve data processing, and the security of data involves the safety of people's lives and properties. [0003] For example, for an enterprise, the chat messages of employees at work are very sensitive content, which may involve the company's core confidential things, which are very important to the enterprise. Therefore, for an enterprise, it is necessary to encrypt chat messages of employees at work to prevent the chat messages from being illegally stolen by other non-personnel, so as to ensure the security of chat messages within the enterprise. [0004] At present, an enterprise IM (Instant Messaging, Instant Messaging) client is usually used to exchange IM messages between employees in an enterprise for chat...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/06H04L12/58
CPCH04L51/04H04L63/0428H04L63/062H04L63/205H04L63/06G06F21/604G06F21/60G06F21/602G06F21/31H04L63/0471H04L63/0485
Inventor 殷腾飞
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products