CN102857889A - Method and device for encrypting short messages - Google Patents
Method and device for encrypting short messages Download PDFInfo
- Publication number
- CN102857889A CN102857889A CN2012103362895A CN201210336289A CN102857889A CN 102857889 A CN102857889 A CN 102857889A CN 2012103362895 A CN2012103362895 A CN 2012103362895A CN 201210336289 A CN201210336289 A CN 201210336289A CN 102857889 A CN102857889 A CN 102857889A
- Authority
- CN
- China
- Prior art keywords
- short message
- symmetric encryption
- encryption key
- key
- generate
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 230000005540 biological transmission Effects 0.000 claims abstract description 21
- 238000004891 communication Methods 0.000 claims abstract description 7
- 230000008569 process Effects 0.000 abstract description 15
- 238000010586 diagram Methods 0.000 description 11
- 238000004590 computer program Methods 0.000 description 7
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- FGUUSXIOTUKUDN-IBGZPJMESA-N C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 Chemical compound C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 FGUUSXIOTUKUDN-IBGZPJMESA-N 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000009849 deactivation Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/03—Protecting confidentiality, e.g. by encryption
- H04W12/033—Protecting confidentiality, e.g. by encryption of the user plane, e.g. user's traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/04—Key management, e.g. using generic bootstrapping architecture [GBA]
- H04W12/041—Key generation or derivation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
- Storage Device Security (AREA)
Abstract
The invention relates to the technical field of communication and particularly relates to a method and a device for encrypting short messages. According to the method and the device, on the premise of ensuring the safety of the short message transmission, the complexity of a short message encryption algorithm is reduced. The method comprises the following steps: generating a first symmetric encryption key by a short message transmitting device; encrypting a to-be-transmitted short message by adopting the first symmetric encryption key; encrypting the first symmetric encryption key to generate a second symmetric encryption key; transmitting a second short message and the second symmetric encryption key to a short message receiving device; and enabling the short message receiving device to decrypt the second short message based on the second symmetric encryption key to acquire a first short message. The realization process of the method is simpler, so that the complexity of the encryption process of short messages interacted between the short message transmitting device and the short message receiving device is effectively avoided.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for encrypting a short message.
Background
At present, mobile communication terminals all support sending and receiving short messages, a short message platform is a service provided by public mobile networks, and short messages have the advantages of convenience in sending and receiving and low cost, so that the short messages are commonly used by a large number of users and are a common method for people to communicate in a mobile communication way. With the continuous emergence of new services in the communication field, in some services, short messages are also used to transmit some management configuration information or to transmit notification messages of service systems, etc.
For example: in a visual voicemail service, a voicemail transmitting device may transmit a short message to a subscriber terminal informing the subscriber that the status of a voice message or greeting in his voicemail has changed (e.g., the subscriber receives a new voice message or a new voicemail greeting is deployed).
Another example is: in the visual voicemail service, the voicemail transmitting device may transmit a short message for notifying the user that the subscription state of the user has changed to the user terminal, and the voicemail short message receiving device may also query the subscription state of the user, or transmit a short message for requesting activation or deactivation of the service to the transmitting device.
Sending short messages has become an indispensable contact in many people's lives, and sometimes, a user sending a short message only wants a specific receiving user to read the sent short message, namely, a method of encryption protection is adopted. The related art short message encryption technology requires an algorithm and key information required for the instant negotiation encryption.
In the prior art, in many service systems, a service sending device interacts with a corresponding service short message receiving device in a short message manner, that is, under a certain condition, the service short message receiving device also interacts some information with the service sending device in a short message manner, (this kind of short message different from mutual transmission between a user and a user is a system short message), in practical applications, before each service short message is transmitted, if a common security mechanism is adopted, an algorithm and key information required for encryption need to be negotiated immediately between the service sending device and the service short message receiving device in communication, and an encryption process is complex.
Disclosure of Invention
The embodiment of the invention provides a method and a device for encrypting a short message, which reduce the complexity of a short message encryption algorithm on the premise of ensuring the safety of short message transmission.
The embodiment of the invention provides the following specific technical scheme:
a method of short message encryption, comprising:
the short message sending device generates a first symmetric encryption key, encrypts the first short message by adopting the first symmetric encryption key and generates a second short message;
the short message sending device encrypts the first symmetric encryption key by adopting a locally set public key to generate a second symmetric encryption key;
and the short message sending device sends the second short message and the second symmetric encryption key to a short message receiving device, so that the short message receiving device decrypts the second short message based on the second symmetric encryption key to obtain the first short message.
A method of decrypting a short message, comprising:
the short message receiving device receives the second short message and the second symmetric encryption key which are sent by the short message sending device by adopting the method as claimed in claim 1;
and the short message receiving device decrypts the received second symmetric encryption key according to a private key corresponding to the public key used by the short message sending device to obtain a first symmetric encryption key, and decrypts the second short message according to the first symmetric encryption key to obtain the first short message.
An apparatus for encrypting a short message, comprising:
the first encryption unit is used for generating a first symmetric encryption key, and encrypting the first short message by adopting the first symmetric encryption key to generate a second short message;
the second encryption unit is used for encrypting the first symmetric encryption key by adopting a locally set public key to generate a second symmetric encryption key;
a sending unit, configured to send the second short message and the second symmetric encryption key to a short message receiving apparatus, so that the short message receiving apparatus decrypts the second short message based on the second symmetric encryption key, and obtains the first short message.
An apparatus for decrypting a short message, comprising:
a receiving unit, configured to receive a second short message and a second symmetric encryption key, which are sent by the short message sending apparatus by using the method according to claim 1;
and the decryption unit is used for decrypting the received second symmetric encryption key according to a private key corresponding to the public key used by the short message sending device to obtain a first symmetric encryption key, and decrypting the second short message according to the first symmetric encryption key to obtain the first short message.
In the embodiment of the invention, when the short message sending device sends the first short message, the first symmetric encryption key is generated, the first short message is encrypted according to the first symmetric encryption key to generate the second short message, the public key arranged by the local device is used for encrypting the first symmetric encryption key to generate the second symmetric encryption key, then the short message sending device sends the second short message and the second symmetric encryption key to the short message receiving device, the short message receiving device decrypts the second short message based on the second symmetric encryption key to obtain the first short message, thus the safety of short message transmission is ensured by double encryption of the first symmetric encryption key and the short message, meanwhile, because of adopting a double encryption mode, the encryption algorithm and the first symmetric encryption key do not need to be negotiated and updated before each transmission in the short message transmission process, therefore, on the premise of ensuring the transmission safety of the short message, the encryption process of the short message is simplified, the complexity of the encryption process of the short message interacted between the short message sending device and the short message receiving device is effectively reduced, and the working efficiency of the short message sending device and the short message receiving device is improved.
Drawings
Fig. 1 is a functional structure diagram of a short message sending apparatus according to an embodiment of the present invention;
FIG. 2 is a functional block diagram of a short message receiving apparatus according to an embodiment of the present invention;
fig. 3 is a detailed flowchart of the short message sending apparatus encrypting the short message according to the embodiment of the present invention;
fig. 4 is a schematic structural diagram of a third short message formed by combining a second short message and a second symmetric encryption key according to an embodiment of the present invention;
fig. 5 is a detailed flowchart of the short message receiving apparatus encrypting the short message according to the embodiment of the present invention.
Detailed Description
On the premise of ensuring the security of short message transmission, in order to reduce the complexity of the encryption process of the short message interacted between the short message sending device and the short message receiving device and improve the working efficiency of the short message sending device and the short message receiving device, in the embodiment of the invention, the short message sending device generates a first symmetric encryption key, encrypts the short message to be sent by adopting the first symmetric encryption key, encrypts the first symmetric encryption key to generate a second symmetric encryption key, then sends the second short message and the second symmetric encryption key to the short message receiving device together, and enables the short message receiving device to decrypt the second short message based on the second symmetric encryption key to obtain the first short message, thus, the security of short message transmission is ensured by double encryption of the first symmetric encryption key and the short message, meanwhile, due to the adoption of a double encryption mode, an encryption algorithm does not need to be negotiated and a first symmetric encryption key does not need to be updated before each transmission in the short message transmission process, so that the encryption process of the short message is simplified on the premise of ensuring the transmission security of the short message, the complexity of the encryption process of the short message interacted between the short message sending device and the short message receiving device is effectively reduced, and the working efficiency of the short message sending device and the short message receiving device is improved.
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Referring to fig. 1, in the embodiment of the present invention, the short message transmission apparatus includes a first encryption unit 10, a second encryption unit 11, and a transmission unit 12, wherein,
a first encryption unit 10, configured to generate a first symmetric encryption key, and encrypt the first short message by using the first symmetric encryption key to generate a second short message;
a second encryption unit 11, configured to encrypt the first symmetric encryption key by using a locally set public key to generate a second symmetric encryption key;
a sending unit 12, configured to send the second short message and the second symmetric encryption key to a short message receiving apparatus, so that the short message receiving apparatus decrypts the second short message based on the second symmetric encryption key, and obtains the first short message.
Referring to fig. 2, in the embodiment of the present invention, the short message receiving apparatus includes a receiving unit 20 and a decrypting unit 21, wherein,
a receiving unit 20, configured to receive a second short message and a second symmetric encryption key, which are sent by the short message sending apparatus by using the method according to claim 1;
a decryption unit 21, configured to decrypt the received second symmetric encryption key according to a private key corresponding to a public key used by the short message sending apparatus, to obtain a first symmetric encryption key, and decrypt the second short message according to the first symmetric encryption key, to obtain the first short message.
Based on the above technical solution, referring to fig. 3, in the embodiment of the present invention, a detailed flow of encrypting a short message by a short message sending apparatus is as follows:
step 300: the short message sending device generates a first symmetric encryption key K, encrypts the first short message by adopting the first symmetric encryption key K and generates a second short message.
In the embodiment of the present invention, the short message sending device may be a server-side device, or may be a terminal-side device, wherein if the short message sending device is the server-side device, the short message receiving device is the terminal-side device; if the short message transmitting device is a terminal side device, the short message receiving device is a server side device.
In the embodiment of the invention, the short message sending device can adopt the acquired random number to generate the first symmetric encryption key K, and the method at least comprises two modes: directly taking the obtained random number as a first symmetric encryption key K; or, the obtained random number is used as a base number for generating the communication key, and the corresponding first symmetric encryption key K is generated through a symmetric encryption algorithm.
Step 310: the short message sending device encrypts the first symmetric encryption key K by adopting a locally set public key to generate a second symmetric encryption key K'.
In the embodiment of the present invention, the short message sending apparatus encrypts the first symmetric encryption key K by using a locally-set public key to generate a second symmetric encryption key K', including: the short message sending device encrypts the first symmetric encryption key K by adopting a public key generated according to a public key cryptographic algorithm to generate a second symmetric encryption key K'; or, the short message sending device encrypts the first symmetric encryption key K by using the public key obtained by the digital certificate of the device to generate a second symmetric encryption key K'.
Step 320: and the short message sending device sends the second short message and the second symmetric encryption key K 'to the short message receiving device, so that the short message receiving device decrypts the second short message based on the second symmetric encryption key K' to obtain the first short message.
In the embodiment of the present invention, the sending of the second short message and the second symmetric encryption key K' by the short message sending apparatus to the short message receiving apparatus may be implemented as follows: the short message sending device combines the second short message and the second symmetric encryption key K' into a third short message and sends the third short message to the short message receiving device. Since the length of the short message is limited to 140 bytes, the first symmetric encryption key K can only be transmitted in combination with short messages whose length bytes are smaller than a certain byte threshold, i.e. when the length bytes of the second short message exceed a certain byte threshold, the short message sending apparatus sends the second symmetric encryption key K' to the short message receiving apparatus via the fourth short message.
In the embodiment of the present invention, the step of enabling the short message sending apparatus to enable the short message receiving apparatus to decrypt the second short message based on the second symmetric encryption key K' to obtain the first short message includes: the short message sending device enables the short message receiving device to decrypt the second symmetric encryption key K' by using a local private key which is arranged locally and corresponds to the public key to obtain the first symmetric encryption key K, and decrypts the second short message according to the first symmetric encryption key K to obtain the first short message.
Through the above process, the short message sending device sends the short message to the short message receiving device, and meanwhile, the short message receiving device obtains the symmetric encryption key K. In the embodiment of the invention, the short message sending device periodically generates a first symmetric encryption key K, in each period, the short message sending device fixedly uses the first symmetric encryption key K corresponding to the period to encrypt the first short message to generate a second short message, and uses a locally arranged public key to encrypt the first symmetric encryption key K to generate a second symmetric encryption key K'. That is, after the short message receiving apparatus acquires the symmetric encryption key K, in each period, all short message interactions between the short message sending apparatus and the short message receiving apparatus use the first symmetric encryption key K for encryption and decryption, and until the next period starts, the short message sending apparatus or the short message receiving apparatus generates a new first symmetric encryption key K. The generation period of the first symmetric encryption key K may be set according to a timer in the short message sending apparatus or the short message receiving apparatus, or the user may periodically initiate updating of the first symmetric encryption key K.
For better understanding of the embodiment of the present invention, the following describes in detail a process of encrypting a short message implemented according to the technical solution provided by the embodiment of the present invention, with reference to a specific application scenario:
for convenience of explanation, the application scenarios set in this embodiment are as follows: in order to ensure security, a server a of a certain media message service sends a system notification message to a client B, and a short message interacted between the server a and the client B needs to be encrypted.
Based on the above setting, the process for implementing encryption of the short message interacted between the server a and the client b comprises the following steps:
step a: the server A acquires a random number and directly uses the random number as a first symmetric encryption key K;
step b: the server A encrypts a first system notification message M to be sent by using a first symmetric encryption key K to generate a second system notification message M';
step c: the server A encrypts the first symmetric encryption key K by adopting a locally arranged public key to obtain a second symmetric encryption key K';
step d: the server a combines the second system notification message M 'and the second symmetric encryption key k' into a third system notification message N, and sends the third system notification message N to the client B, where the content of the third system notification message N may adopt the structure shown in fig. 4;
step e: the client B receives the third system notification message N, decrypts a second symmetric encryption key K' in the third system notification message N by using a private key which is locally arranged and corresponds to the public key, and acquires a first symmetric encryption key K;
step f: and the client B decrypts the second system notification message M' in the third system notification message N by using the acquired first symmetric encryption key K to acquire the first system notification message M.
Based on the above technical solution, referring to fig. 5, in the embodiment of the present invention, a detailed flow of the short message receiving apparatus decrypting the short message is as follows:
step 500: the short message receiving device receives the second short message and the second symmetric encryption key K' sent by the short message sending device by the method as shown in step 300-320.
Step 510: the short message receiving device decrypts the received second symmetric encryption key K' according to a private key corresponding to the public key used by the short message sending device to obtain a first symmetric encryption key K, and decrypts the second short message according to the first symmetric encryption key K to obtain the first short message.
To sum up, on the premise of ensuring the security of short message transmission, in order to reduce the complexity of the encryption process of the short message exchanged between the short message sending device and the short message receiving device and improve the working efficiency of the short message sending device and the short message receiving device, in the embodiment of the invention, the short message sending device generates a first symmetric encryption key, encrypts the short message to be sent by using the first symmetric encryption key, encrypts the first symmetric encryption key to generate a second symmetric encryption key, then sends the second short message and the second symmetric encryption key to the short message receiving device together, and enables the short message receiving device to decrypt the second short message based on the second symmetric encryption key to obtain the first short message, so that the security of short message transmission is ensured by double-encrypting the first symmetric encryption key and the short message, meanwhile, due to the adoption of a double encryption mode, an encryption algorithm does not need to be negotiated and a first symmetric encryption key does not need to be updated before each transmission in the short message transmission process, so that the encryption process of the short message is simplified on the premise of ensuring the transmission security of the short message, the complexity of the encryption process of the short message interacted between the short message sending device and the short message receiving device is effectively reduced, and the working efficiency of the short message sending device and the short message receiving device is improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.
Claims (18)
1. A method for encrypting a short message, comprising:
the short message sending device generates a first symmetric encryption key, encrypts the first short message by adopting the first symmetric encryption key and generates a second short message;
the short message sending device encrypts the first symmetric encryption key by adopting a locally set public key to generate a second symmetric encryption key;
and the short message sending device sends the second short message and the second symmetric encryption key to a short message receiving device, so that the short message receiving device decrypts the second short message based on the second symmetric encryption key to obtain the first short message.
2. The method of claim 1, wherein the short message sending apparatus is a server-side apparatus or a terminal-side apparatus.
3. The method according to claim 2, wherein the short message transmission apparatus acquires a random number and generates a first symmetric encryption key using a specified method based on the random number.
4. The method of claim 3, wherein the short message transmission apparatus acquiring a random number and generating a first symmetric encryption key using a specified method based on the random number comprises:
directly using the random number as a first symmetric encryption key; or,
and generating a corresponding first symmetric encryption key by using the random number as a base number for generating the communication key through a symmetric encryption algorithm.
5. The method according to any one of claims 1 to 4, wherein the short message sending apparatus periodically generates the first symmetric encryption key, and in each period, the short message sending apparatus fixedly encrypts the first short message using the first symmetric encryption key corresponding to the period to generate the second short message, and encrypts the first symmetric encryption key using a locally set public key to generate the second symmetric encryption key.
6. The method as claimed in claim 5, wherein the short message sending apparatus encrypts the first symmetric encryption key using a locally set public key to generate a second symmetric encryption key, comprising:
the short message sending device encrypts the first symmetric encryption key by adopting a public key generated according to a public key cryptographic algorithm to generate a second symmetric encryption key; or,
the short message sending device encrypts the first symmetric encryption key by adopting a public key acquired by the digital certificate of the device to generate a second symmetric encryption key.
7. The method of claim 1, wherein the short message sending apparatus causes the short message receiving apparatus to decrypt the second short message based on the second symmetric encryption key to obtain the first short message, comprising:
the short message sending device enables the short message receiving device to decrypt the second symmetric encryption key by using a private key which is locally arranged and corresponds to the public key to obtain a first symmetric encryption key, and decrypts the second short message according to the first symmetric encryption key to obtain the first short message.
8. A method for decrypting a short message, comprising:
the short message receiving device receives the second short message and the second symmetric encryption key which are sent by the short message sending device by adopting the method as claimed in claim 1;
and the short message receiving device decrypts the received second symmetric encryption key according to a private key corresponding to the public key used by the short message sending device to obtain a first symmetric encryption key, and decrypts the second short message according to the first symmetric encryption key to obtain the first short message.
9. The method of claim 8, wherein the short message receiving device is a server-side device or a terminal-side device.
10. An apparatus for encrypting a short message, comprising:
the first encryption unit is used for generating a first symmetric encryption key, and encrypting the first short message by adopting the first symmetric encryption key to generate a second short message;
the second encryption unit is used for encrypting the first symmetric encryption key by adopting a locally set public key to generate a second symmetric encryption key;
a sending unit, configured to send the second short message and the second symmetric encryption key to a short message receiving apparatus, so that the short message receiving apparatus decrypts the second short message based on the second symmetric encryption key, and obtains the first short message.
11. The apparatus of claim 10, wherein the apparatus is a server-side apparatus or a terminal-side apparatus.
12. The apparatus as claimed in claim 11, wherein said first encryption unit is specifically configured to:
a random number is obtained and a first symmetric encryption key is generated with a specifying device based on the random number.
13. The apparatus of claim 12, wherein the first encryption unit is specifically configured to:
acquiring a random number and generating a first symmetric encryption key by a specified device based on the random number, comprising:
directly using the random number as a first symmetric encryption key; or,
and generating a corresponding first symmetric encryption key by using the random number as a base number for generating the communication key through a symmetric encryption algorithm.
14. The apparatus according to any one of claims 10 to 13, wherein the first encryption unit periodically generates a first symmetric encryption key, and in each period, the short message sending apparatus fixedly encrypts the first short message using the first symmetric encryption key corresponding to the period to generate a second short message, and the second encryption unit encrypts the first symmetric encryption key using a locally set public key to generate a second symmetric encryption key.
15. The apparatus according to claim 14, wherein the second encryption unit is specifically configured to:
the short message sending device encrypts the first symmetric encryption key by adopting a public key generated according to a public key cryptographic algorithm to generate a second symmetric encryption key; or,
the short message sending device encrypts the first symmetric encryption key by adopting a public key acquired by the digital certificate of the device to generate a second symmetric encryption key.
16. The apparatus as claimed in claim 10, wherein the sending unit is specifically configured to:
and the short message receiving device decrypts the second symmetric encryption key by using a local private key corresponding to the public key to obtain a first symmetric encryption key, and decrypts the second short message according to the first symmetric encryption key to obtain the first short message.
17. An apparatus for decrypting a short message, comprising:
a receiving unit, configured to receive a second short message and a second symmetric encryption key, which are sent by the short message sending apparatus by using the method according to claim 1;
and the decryption unit is used for decrypting the received second symmetric encryption key according to a private key corresponding to the public key used by the short message sending device to obtain a first symmetric encryption key, and decrypting the second short message according to the first symmetric encryption key to obtain the first short message.
18. The apparatus of claim 17, wherein the apparatus is a server-side apparatus or a terminal-side apparatus.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012103362895A CN102857889A (en) | 2012-09-12 | 2012-09-12 | Method and device for encrypting short messages |
PCT/CN2013/080023 WO2013185680A1 (en) | 2012-09-12 | 2013-07-24 | Short message enciphering/deciphering method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012103362895A CN102857889A (en) | 2012-09-12 | 2012-09-12 | Method and device for encrypting short messages |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102857889A true CN102857889A (en) | 2013-01-02 |
Family
ID=47404013
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012103362895A Pending CN102857889A (en) | 2012-09-12 | 2012-09-12 | Method and device for encrypting short messages |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102857889A (en) |
WO (1) | WO2013185680A1 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013185680A1 (en) * | 2012-09-12 | 2013-12-19 | 中兴通讯股份有限公司 | Short message enciphering/deciphering method and apparatus |
CN105472584A (en) * | 2015-11-23 | 2016-04-06 | 天津光电安辰信息技术有限公司 | Short message encryption system based on intelligent mobile phone and realization method thereof |
CN105516943A (en) * | 2015-11-23 | 2016-04-20 | 天津光电安辰信息技术有限公司 | Short message encryption system on the basis of domestic commercial crypto chip and realization method thereof |
CN105657697A (en) * | 2015-12-24 | 2016-06-08 | 北京奇虎科技有限公司 | Method and device for protecting short message security |
CN105792190A (en) * | 2014-12-25 | 2016-07-20 | 成都鼎桥通信技术有限公司 | Data encryption, decryption and transmission method in communication system |
CN111178884A (en) * | 2019-12-16 | 2020-05-19 | 平安壹钱包电子商务有限公司 | Information processing method, device, equipment and readable storage medium |
CN111246407A (en) * | 2020-01-10 | 2020-06-05 | 北京智信通联信息技术有限公司 | Data encryption and decryption method and device for short message transmission |
CN113747378A (en) * | 2020-05-29 | 2021-12-03 | 中国移动通信有限公司研究院 | Short message transmission method, device and network equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0602335A2 (en) * | 1992-12-15 | 1994-06-22 | Motorola, Inc. | Cryptographic key management apparatus and method |
CN101867898A (en) * | 2010-07-02 | 2010-10-20 | 中国电信股份有限公司 | Short message encrypting communication system, method and secret key center |
CN102355355A (en) * | 2003-06-19 | 2012-02-15 | 日本电信电话株式会社 | Session control server, communication device, communication system and communication method |
CN102377564A (en) * | 2011-11-15 | 2012-03-14 | 华为技术有限公司 | Method and device for encrypting private key |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102857889A (en) * | 2012-09-12 | 2013-01-02 | 中兴通讯股份有限公司 | Method and device for encrypting short messages |
-
2012
- 2012-09-12 CN CN2012103362895A patent/CN102857889A/en active Pending
-
2013
- 2013-07-24 WO PCT/CN2013/080023 patent/WO2013185680A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0602335A2 (en) * | 1992-12-15 | 1994-06-22 | Motorola, Inc. | Cryptographic key management apparatus and method |
CN102355355A (en) * | 2003-06-19 | 2012-02-15 | 日本电信电话株式会社 | Session control server, communication device, communication system and communication method |
CN101867898A (en) * | 2010-07-02 | 2010-10-20 | 中国电信股份有限公司 | Short message encrypting communication system, method and secret key center |
CN102377564A (en) * | 2011-11-15 | 2012-03-14 | 华为技术有限公司 | Method and device for encrypting private key |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013185680A1 (en) * | 2012-09-12 | 2013-12-19 | 中兴通讯股份有限公司 | Short message enciphering/deciphering method and apparatus |
CN105792190A (en) * | 2014-12-25 | 2016-07-20 | 成都鼎桥通信技术有限公司 | Data encryption, decryption and transmission method in communication system |
CN105472584A (en) * | 2015-11-23 | 2016-04-06 | 天津光电安辰信息技术有限公司 | Short message encryption system based on intelligent mobile phone and realization method thereof |
CN105516943A (en) * | 2015-11-23 | 2016-04-20 | 天津光电安辰信息技术有限公司 | Short message encryption system on the basis of domestic commercial crypto chip and realization method thereof |
CN105657697A (en) * | 2015-12-24 | 2016-06-08 | 北京奇虎科技有限公司 | Method and device for protecting short message security |
CN111178884A (en) * | 2019-12-16 | 2020-05-19 | 平安壹钱包电子商务有限公司 | Information processing method, device, equipment and readable storage medium |
CN111178884B (en) * | 2019-12-16 | 2024-04-12 | 平安壹钱包电子商务有限公司 | Information processing method, device, equipment and readable storage medium |
CN111246407A (en) * | 2020-01-10 | 2020-06-05 | 北京智信通联信息技术有限公司 | Data encryption and decryption method and device for short message transmission |
CN113747378A (en) * | 2020-05-29 | 2021-12-03 | 中国移动通信有限公司研究院 | Short message transmission method, device and network equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2013185680A1 (en) | 2013-12-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11777716B2 (en) | Key exchange method and apparatus | |
US10785019B2 (en) | Data transmission method and apparatus | |
CN101340443B (en) | Session key negotiating method, system and server in communication network | |
US10771966B2 (en) | Encryption method, decryption method, and related apparatus | |
CN102857889A (en) | Method and device for encrypting short messages | |
CN113239403B (en) | Data sharing method and device | |
CN108173644A (en) | Data transmission encryption method and device, storage medium, equipment and server | |
CN105959281B (en) | File encryption transmission method and device | |
CN103167494B (en) | Method for sending information and system | |
CN114173328B (en) | Key exchange method and device and electronic equipment | |
JP2019514314A (en) | Method, system and medium for using dynamic public key infrastructure to send and receive encrypted messages | |
CN111478911A (en) | Instant messaging encryption method adopting lightweight key exchange algorithm | |
CN110601825A (en) | Ciphertext processing method and device, storage medium and electronic device | |
CN101854594A (en) | Information sending method and device and information receiving method and device | |
CN106161363B (en) | SSL connection establishment method and system | |
CN102123361B (en) | Method and device for realizing encrypted information communication | |
CN103997405A (en) | Secret key generation method and device | |
CN114257562B (en) | Instant messaging method, device, electronic equipment and computer readable storage medium | |
WO2013163861A1 (en) | Method, device and system for proxy transformation | |
CN113918971A (en) | Block chain based message transmission method, device, equipment and readable storage medium | |
KR101760376B1 (en) | Terminal and method for providing secure messenger service | |
WO2012075761A1 (en) | Method and system for encrypting multimedia message service | |
CN104243291A (en) | Instant messaging method and system thereof capable of guaranteeing safety of user communication content | |
CN109257630B (en) | Data transmission system, method, device and storage medium in video-on-demand | |
CN102685033B (en) | Instant message sending-receiving method based on identity encryption |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130102 |
|
RJ01 | Rejection of invention patent application after publication |