Method, device and system for encryption and decryption of communication

A technology to be encrypted and binary numbers, applied in the field of information processing, it can solve the problem that the encryption algorithm can only be used in the C language compilation environment, the encryption algorithm can only be used in the corresponding language compilation environment, and the general application of the encryption algorithm is restricted. And other issues

Active Publication Date: 2014-03-26
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Currently commonly used encryption algorithms include TEA, BASE64, MD5, etc., all of which are implemented using C, C++ or Java version SDK (software development kit, software development kit), but the encryption algorithms of each version can only be compiled in their corresponding languages environment, for example, the encryption algorithm of the C version can only be used in the compilation environment of the C language
However, Java technology is mainly used in WEB services, which greatly limits the general application of these encryption algorithms in WEB services.

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, device and system for encryption and decryption of communication
  • Method, device and system for encryption and decryption of communication
  • Method, device and system for encryption and decryption of communication

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] The embodiment of the present invention provides a communication encryption method, which is implemented based on Javascript, and can be applied to client devices and server devices based on WEB communication, for example, client devices such as mobile phones and tablet computers, and operators or business Provider's server and other server equipment.

[0049] In the embodiment of the present invention, the client device and the server device need to be equipped with at least one encryption module and at least one decryption module respectively.

[0050] A communication encryption method provided by an embodiment of the present invention, such as figure 1 As shown, the method is a method on the side of the encryption module, including:

[0051] 101. Extract a first character string to be encrypted from information to be sent.

[0052] Wherein, the information to be sent is the information sent by the client device to the server device, which may include user informati...

Embodiment 2

[0118] The embodiment of the present invention provides a communication encryption device 30, such as Figure 7 As shown, it includes: an extraction unit 31 , a conversion unit 32 , an encryption unit 33 , an encoding unit 34 , and a sending unit 35 .

[0119] Extracting unit 31, configured to extract the first character string to be encrypted from the information to be sent.

[0120] The conversion unit 32 is configured to convert the first character string obtained by the extraction unit 31 into a first plurality of binary numbers for storage.

[0121] The encryption unit 33 is configured to encrypt the stored first plurality of binary numbers according to a preset encryption algorithm to generate a second plurality of binary numbers.

[0122] The conversion unit 32 is further configured to convert the second plurality of binary numbers into character strings to be sent.

[0123] The coding unit 34 is configured to perform transmission coding on the character string to be ...

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 invention discloses a method, a device and a system for encryption and decryption of communication, and relates to the field of information processing. A Javascript is utilized to realize encryption and decryption of communication so that safety of user information is guaranteed. The invention comprises an encryption process of communication and a decryption process of communication. The encryption process of communication comprises that: a first character string to be encrypted is extracted from information to be sent; the first character string is converted into first multiple binary numbers to be stored; the stored first multiple binary numbers are encrypted according to a preset encryption algorithm so that second multiple binary numbers are generated; the second multiple binary numbers are converted into a character string to be sent; and transmission encoding is performed on the character string to be sent and an encoding result is sent. The decryption process of communication comprises that: the information which is to be processed and is sent by a sending end is received; transmission decoding is performed on the information to be processed so that a third character string is obtained; the third character string is converted into third multiple binary numbers to be stored; the stored third multiple binary numbers are decrypted according to a preset decryption algorithm so that fourth multiple binary numbers are generated; and the fourth multiple binary numbers are converted into a fourth character string.

Description

technical field [0001] The present invention relates to the field of information processing, in particular to a communication encryption and decryption method, device and system. Background technique [0002] For the safety of user information, when users use various WEB applications to log in, they must encrypt the entire communication between the client and the server to prevent leakage of user information. Currently commonly used encryption algorithms include TEA, BASE64, MD5, etc., all of which are implemented using C, C++ or Java version SDK (software development kit, software development kit), but the encryption algorithms of each version can only be compiled in their corresponding languages environment, for example, the encryption algorithm of the C version can only be used in the compilation environment of the C language. However, Java technology is mainly used in WEB services, which greatly limits the general application of these encryption algorithms in WEB servic...

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 Applications(China)
IPC IPC(8): H04L9/28H04L29/06
CPCH04L9/28H04L9/0891H04L9/0618H04L9/088H04L2209/34
Inventor 陈恕胜张坤熊正祥刘莹雪臧悦
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products