CN105187211A - Methods and devices for securely sending and receiving information - Google Patents

Methods and devices for securely sending and receiving information Download PDF

Info

Publication number
CN105187211A
CN105187211A CN201510482560.XA CN201510482560A CN105187211A CN 105187211 A CN105187211 A CN 105187211A CN 201510482560 A CN201510482560 A CN 201510482560A CN 105187211 A CN105187211 A CN 105187211A
Authority
CN
China
Prior art keywords
sensitive information
module
message
information
steps
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510482560.XA
Other languages
Chinese (zh)
Other versions
CN105187211B (en
Inventor
高子英
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Si Tech Information Technology Co Ltd
Original Assignee
Beijing Si Tech Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Si Tech Information Technology Co Ltd filed Critical Beijing Si Tech Information Technology Co Ltd
Priority to CN201510482560.XA priority Critical patent/CN105187211B/en
Publication of CN105187211A publication Critical patent/CN105187211A/en
Application granted granted Critical
Publication of CN105187211B publication Critical patent/CN105187211B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a method for securely sending information and a method for securely receiving the information. The method for securely sending the information comprises the following steps that a sending end splices information which needs to send; if the information which needs to send is sensitive information, the sending end carries out XOR operation encryption processing on the sensitive information and splices the encrypted sensitive information to to-be-sent information; and the sending end sends the spliced to-be-sent information to a receiving end. The method for securely receiving the information comprises the following steps that the receiving end receives the information sent by the sending end; if the received information is the sensitive information subjected to encryption processing, the receiving end carries out XOR operation decryption processing on the received information and carries out subsequent business processing on the decrypted sensitive information. Through timely detecting whether the sent information is the sensitive information, the sensitive information is encrypted according to an appointed key and a scheduled encryption algorithm if the sent information is the sensitive information, and the adopted XOR operation encryption algorithm encrypts the sensitive information, so that secure transmission of the sensitive information is realized and security for information transmission is greatly improved.

Description

A kind of message safety sending and receiving methods and transceiver
Technical field
The present invention relates to encryption technology field, particularly relate to a kind message safety sending and receiving methods and transceiver.
Background technology
Along with internet development, network security is also more and more paid attention to.Current network still exists the phenomenon of a lot of decodement transmission.How safe handling is carried out to sensitive informations such as passwords, become problem demanding prompt solution.
Summary of the invention
Technical problem to be solved by this invention is for the deficiencies in the prior art, provides a kind of message safety sending and receiving methods and transceiver.
The technical scheme that the present invention solves the problems of the technologies described above is as follows: a kind of message safety sending method, comprises the steps:
Steps A 1, transmitting terminal splicing needs the information sent;
Steps A 2, judges to need whether the information sent is sensitive information, if perform steps A 3; Otherwise perform steps A 4;
Steps A 3, to the encryption of described sensitive information XOR, obtains encrypted sensitive information;
Steps A 4, is spliced into message to be transmitted by encrypted sensitive information or non-sensitive information;
By what splice, steps A 5, waits that transmitting message sends to receiving terminal.
The invention has the beneficial effects as follows: whether the present invention detects transmitted information is in time sensitive information, if it is by the secret key of arranging and predetermined cryptographic algorithm, sensitive information is encrypted, the present invention adopts XOR cryptographic algorithm to be encrypted sensitive information, realize the safe transmission of sensitive information, substantially increasing information transmission is fail safe.
A kind of message safety method of reseptance, comprises the steps:
Step B1, the message that receiving terminal receiving end/sending end sends;
Step B2, whether be sensitive information through encryption, if perform step B3 if detecting described message; Otherwise perform step B4;
Step B3, carries out XOR decryption processing by the message of reception, obtains decrypted sensitive information;
Step B4, carries out follow-up Business Processing by the non-sensitive information of decrypted sensitive information or reception.
A kind of message safety dispensing device, is characterized in that, comprise the first concatenation module, judge module, encrypting module, the second concatenation module and message transmission module; Described first concatenation module, its information sent for splicing needs; Described judge module, for judging, it needs whether the information sent is sensitive information, if call encrypting module; Otherwise call the second concatenation module; Described encrypting module, it, for carrying out XOR encryption to described sensitive information, obtains encrypted sensitive information, calls the second concatenation module; Described second concatenation module, it is for being spliced into message to be transmitted by encrypted sensitive information or non-sensitive information, message call sending module; Described message transmission module, by what splice, it is for waiting that transmitting message sends to receiving terminal.
A kind of message safety receiving system, comprises message reception module, detection module, deciphering module and Service Processing Module; Described message reception module, its message sent for receiving terminal receiving end/sending end; Described detection module, whether be sensitive information through encryption, if call deciphering module if detecting described message; Otherwise call Service Processing Module; Described deciphering module, it, for the message of reception is carried out XOR decryption processing, obtains decrypted sensitive information, calls Service Processing Module; Described Service Processing Module, it is for carrying out follow-up Business Processing by the non-sensitive information of decrypted sensitive information or reception.
Accompanying drawing explanation
Fig. 1 is that a kind of message safety of the present invention sends and receiving course schematic diagram;
Fig. 2 is a kind of message safety dispensing device structured flowchart of the present invention;
Fig. 3 is a kind of message safety receiving system structured flowchart of the present invention.
In accompanying drawing, the list of parts representated by each label is as follows:
10, the first concatenation module, 11, judge module, 12, encrypting module, the 13, second concatenation module, 14, message transmission module, 20, message reception module, 21, detection module, 22, deciphering module, 23, Service Processing Module.
Embodiment
Be described principle of the present invention and feature below in conjunction with accompanying drawing, example, only for explaining the present invention, is not intended to limit scope of the present invention.
As shown in Figure 1, a kind of message safety sending method, comprises the steps:
Steps A 1, transmitting terminal splicing needs the information sent;
Steps A 2, judges to need whether the information sent is sensitive information, if perform steps A 3; Otherwise perform steps A 4;
Steps A 3, to the encryption of described sensitive information XOR, obtains encrypted sensitive information;
Steps A 4, is spliced into message to be transmitted by encrypted sensitive information or non-sensitive information; Message to be transmitted comprises packet header and bag tail, by needing the information plug sent in network packet, forms message to be transmitted.
By what splice, steps A 5, waits that transmitting message sends to receiving terminal.
Particularly, transmitting terminal and receiving terminal both sides arrange secret key.
Transmitting terminal to the concrete operations that sensitive information carries out XOR encryption is: to sensitive information by secret key one by one character carry out XOR encryption.
Described encryption script is as follows:
A kind of message safety method of reseptance, comprises the steps:
Step B1, the message that receiving terminal receiving end/sending end sends;
Step B2, whether be sensitive information through encryption, if perform step B3 if detecting described message; Otherwise perform step B4;
Step B3, carries out XOR decryption processing by the message of reception, obtains decrypted sensitive information;
Step B4, carries out follow-up Business Processing by the non-sensitive information of decrypted sensitive information or reception.
As shown in Figure 2, a kind of message safety dispensing device, comprises the first concatenation module 10, judge module 11, encrypting module 12, second concatenation module 13 and message transmission module 14; Described first concatenation module 10, its information sent for splicing needs; Described judge module 11, for judging, it needs whether the information sent is sensitive information, if call encrypting module 12; Otherwise call the second concatenation module 13; Described encrypting module 12, it, for carrying out XOR encryption to described sensitive information, obtains encrypted sensitive information, calls the second concatenation module 13; Described second concatenation module 13, it is for being spliced into message to be transmitted by encrypted sensitive information or non-sensitive information, message call sending module 14; Described message transmission module 14, by what splice, it is for waiting that transmitting message sends to receiving terminal.
As shown in Figure 3, a kind of message safety receiving system, comprises message reception module 20, detection module 21, deciphering module 22 and Service Processing Module 23; Described message reception module 20, its message sent for receiving terminal receiving end/sending end; Described detection module 21, whether be sensitive information through encryption, if call deciphering module 22 if detecting described message; Otherwise call Service Processing Module 23; Described deciphering module 22, it, for the message of reception is carried out XOR decryption processing, obtains decrypted sensitive information, calls Service Processing Module 23; Described Service Processing Module 23, it is for carrying out follow-up Business Processing by the non-sensitive information of decrypted sensitive information or reception.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a message safety sending method, is characterized in that, comprises the steps:
Steps A 1, transmitting terminal splicing needs the information sent;
Steps A 2, judges to need whether the information sent is sensitive information, if perform steps A 3; Otherwise perform steps A 4;
Steps A 3, to the encryption of described sensitive information XOR, obtains encrypted sensitive information;
Steps A 4, is spliced into message to be transmitted by encrypted sensitive information or non-sensitive information;
By what splice, steps A 5, waits that transmitting message sends to receiving terminal.
2. a kind of message safety sending method according to claim 1, it is characterized in that, transmitting terminal and receiving terminal both sides arrange secret key.
3. a kind of message safety sending method according to claim 1, it is characterized in that, transmitting terminal to the concrete operations that sensitive information carries out XOR encryption is: to sensitive information by secret key one by one character carry out XOR encryption.
4. a message safety method of reseptance, is characterized in that, comprises the steps:
Step B1, the message that receiving terminal receiving end/sending end sends;
Step B2, whether be sensitive information through encryption, if perform step B3 if detecting described message; Otherwise perform step B4;
Step B3, carries out XOR decryption processing by the message of reception, obtains decrypted sensitive information;
Step B4, carries out follow-up Business Processing by the non-sensitive information of decrypted sensitive information or reception.
5. a kind of message safety method of reseptance according to claim 4, it is characterized in that, transmitting terminal and receiving terminal both sides arrange secret key.
6. a kind of message safety method of reseptance according to claim 4, is characterized in that, receiving terminal docking concrete operations that breath carries out XOR decryption processing of collecting mail are: docking collect mail breath by secret key one by one character carry out XOR deciphering.
7. a message safety dispensing device, is characterized in that, comprises the first concatenation module, judge module, encrypting module, the second concatenation module and message transmission module;
Described first concatenation module, its information sent for splicing needs;
Described judge module, for judging, it needs whether the information sent is sensitive information, if call encrypting module; Otherwise call the second concatenation module;
Described encrypting module, it, for carrying out XOR encryption to described sensitive information, obtains encrypted sensitive information, calls the second concatenation module;
Described second concatenation module, it is for being spliced into message to be transmitted by encrypted sensitive information or non-sensitive information, message call sending module;
Described message transmission module, by what splice, it is for waiting that transmitting message sends to receiving terminal.
8. a kind of message safety dispensing device according to claim 7, it is characterized in that, described transmitting terminal and receiving terminal both sides arrange secret key, described encrypting module to sensitive information by secret key one by one character carry out XOR encryption.
9. a message safety receiving system, is characterized in that, comprises message reception module, detection module, deciphering module and Service Processing Module;
Described message reception module, its message sent for receiving terminal receiving end/sending end;
Described detection module, whether be sensitive information through encryption, if call deciphering module if detecting described message; Otherwise call Service Processing Module;
Described deciphering module, it, for the message of reception is carried out XOR decryption processing, obtains decrypted sensitive information, calls Service Processing Module;
Described Service Processing Module, it is for carrying out follow-up Business Processing by the non-sensitive information of decrypted sensitive information or reception.
10. a kind of message safety receiving system according to claim 9, it is characterized in that, described transmitting terminal and receiving terminal both sides arrange secret key, described encrypting module to sensitive information by secret key one by one character carry out XOR encryption.
CN201510482560.XA 2015-08-07 2015-08-07 A kind of safe sending and receiving methods of message and transceiver Active CN105187211B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510482560.XA CN105187211B (en) 2015-08-07 2015-08-07 A kind of safe sending and receiving methods of message and transceiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510482560.XA CN105187211B (en) 2015-08-07 2015-08-07 A kind of safe sending and receiving methods of message and transceiver

Publications (2)

Publication Number Publication Date
CN105187211A true CN105187211A (en) 2015-12-23
CN105187211B CN105187211B (en) 2019-01-22

Family

ID=54909066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510482560.XA Active CN105187211B (en) 2015-08-07 2015-08-07 A kind of safe sending and receiving methods of message and transceiver

Country Status (1)

Country Link
CN (1) CN105187211B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107733773A (en) * 2016-08-10 2018-02-23 中兴通讯股份有限公司 Information protecting method, protection information dispensing device and protection information reception device
CN107993427A (en) * 2018-01-29 2018-05-04 广州秀明环保科技有限公司 A kind of gateway applied to environmental protection equipment information gathering
CN109450633A (en) * 2018-09-25 2019-03-08 平安科技(深圳)有限公司 Information encrypts sending method and device, electronic equipment, storage medium
CN109543453A (en) * 2018-11-30 2019-03-29 北京八分量信息科技有限公司 A kind of order information processing method based on multi-party computations, apparatus and system
WO2021114885A1 (en) * 2020-06-30 2021-06-17 平安科技(深圳)有限公司 Sensitive information protection method and apparatus, computer device, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741544A (en) * 2009-12-29 2010-06-16 电子科技大学 Time-lag chaos iteration-based digital signature method and device
CN101895389A (en) * 2010-07-16 2010-11-24 黑龙江大学 Methods for encrypting and decrypting combined coding based file by adopting proportion calculation
CN102279908A (en) * 2010-06-08 2011-12-14 安凯(广州)微电子技术有限公司 Method and system for protecting digital contents
CN102665029A (en) * 2012-03-29 2012-09-12 中山大学 Gradient learning-based method for amplification of super-resolution image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741544A (en) * 2009-12-29 2010-06-16 电子科技大学 Time-lag chaos iteration-based digital signature method and device
CN102279908A (en) * 2010-06-08 2011-12-14 安凯(广州)微电子技术有限公司 Method and system for protecting digital contents
CN101895389A (en) * 2010-07-16 2010-11-24 黑龙江大学 Methods for encrypting and decrypting combined coding based file by adopting proportion calculation
CN102665029A (en) * 2012-03-29 2012-09-12 中山大学 Gradient learning-based method for amplification of super-resolution image

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107733773A (en) * 2016-08-10 2018-02-23 中兴通讯股份有限公司 Information protecting method, protection information dispensing device and protection information reception device
CN107993427A (en) * 2018-01-29 2018-05-04 广州秀明环保科技有限公司 A kind of gateway applied to environmental protection equipment information gathering
CN109450633A (en) * 2018-09-25 2019-03-08 平安科技(深圳)有限公司 Information encrypts sending method and device, electronic equipment, storage medium
CN109450633B (en) * 2018-09-25 2022-10-21 平安科技(深圳)有限公司 Information encryption transmission method and device, electronic equipment and storage medium
CN109543453A (en) * 2018-11-30 2019-03-29 北京八分量信息科技有限公司 A kind of order information processing method based on multi-party computations, apparatus and system
CN109543453B (en) * 2018-11-30 2021-02-26 北京八分量信息科技有限公司 Order information processing method, device and system based on secure multiparty computation
WO2021114885A1 (en) * 2020-06-30 2021-06-17 平安科技(深圳)有限公司 Sensitive information protection method and apparatus, computer device, and storage medium

Also Published As

Publication number Publication date
CN105187211B (en) 2019-01-22

Similar Documents

Publication Publication Date Title
CN107294937B (en) Data transmission method based on network communication, client and server
CN105187211A (en) Methods and devices for securely sending and receiving information
CN104579679B (en) Wireless public network data forwarding method for agriculture distribution communication equipment
US20170093572A1 (en) Systems and methods for utilizing hardware assisted protection for media content
CN106550359B (en) Authentication method and system for terminal and SIM card
CN112104604A (en) System and method for realizing safety access service based on electric power internet of things management platform
CN107896223A (en) A kind of data processing method and system, data collecting system and data receiving system
CN105792190B (en) Data encryption, decryption and transmission method in communication system
CN108900540B (en) Service data processing method of power distribution terminal based on double encryption
CN105141635A (en) Method and system for safe communication of group sending messages
CN107896222A (en) A kind of data processing method and system
CN101741823A (en) Cross-validation safety communication method and system
EP3713147B1 (en) Railway signal security encryption method and system
CN105407467A (en) Short message encryption methods, devices and system
CN102264068B (en) Shared key consultation method, system, network platform and terminal
CN108141353B (en) Method and equipment for upgrading cryptographic algorithm
CN103166757A (en) Method and system capable of dynamically protecting user private data
CN106549757B (en) Data authenticity identification method of WEB service, server and client
CN102833709A (en) Short message sending method, mobile terminal, server and system
CN102932345A (en) Method, device and system for information transmission
CN105262759A (en) Method and system for encrypted communication
CN103701819B (en) The processing method and processing device of HTML (Hypertext Markup Language) decryption
CN105187453A (en) Security encryption communication method of fault indicator
CN103795549B (en) Communication content encryption and decryption method and encryption management method based on CS mode
CN109862027A (en) Data transmission method for uplink, data receiver method and equipment, data transmission system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant