CN114040366B - Bluetooth connection encryption method with high network communication security - Google Patents

Bluetooth connection encryption method with high network communication security Download PDF

Info

Publication number
CN114040366B
CN114040366B CN202111113224.XA CN202111113224A CN114040366B CN 114040366 B CN114040366 B CN 114040366B CN 202111113224 A CN202111113224 A CN 202111113224A CN 114040366 B CN114040366 B CN 114040366B
Authority
CN
China
Prior art keywords
encryption algorithm
rsa
bluetooth
des
encryption
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.)
Active
Application number
CN202111113224.XA
Other languages
Chinese (zh)
Other versions
CN114040366A (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.)
Huizhou City Vocational College (huizhou Business And Tourism Advanced Vocational And Technical School)
Original Assignee
Huizhou City Vocational College (huizhou Business And Tourism Advanced Vocational And Technical School)
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 Huizhou City Vocational College (huizhou Business And Tourism Advanced Vocational And Technical School) filed Critical Huizhou City Vocational College (huizhou Business And Tourism Advanced Vocational And Technical School)
Priority to CN202111113224.XA priority Critical patent/CN114040366B/en
Publication of CN114040366A publication Critical patent/CN114040366A/en
Application granted granted Critical
Publication of CN114040366B publication Critical patent/CN114040366B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0618Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation
    • H04L9/0625Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation with splitting of the data block into left and right halves, e.g. Feistel based algorithms, DES, FEAL, IDEA or KASUMI
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/30Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
    • H04L9/3006Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy underlying computational problems or public-key parameters
    • H04L9/302Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy underlying computational problems or public-key parameters involving the integer factorization problem, e.g. RSA or quadratic sieve [QS] schemes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption

Abstract

The invention discloses a Bluetooth connection encryption method with high network communication security, which comprises the following steps: (1) enabling a device to establish Bluetooth connection with b device; (2) When Bluetooth data is transmitted between a device and a device b, the same encryption and decryption keys are established for 64bit data plaintext by using a DES encryption algorithm, encryption is carried out, and then the keys are encrypted by using an RSA encryption algorithm; (3) Then transmitting the ciphertext and the RSA encrypted secret key to a receiver; (4) After receiving the data packet, the receiver decrypts RSA to obtain DES key and then decrypts ciphertext to obtain plaintext. The invention combines the DES encryption algorithm and the RSA encryption algorithm, fully utilizes the advantages of the DES encryption algorithm and the RSA encryption algorithm, greatly improves the communication safety of the Bluetooth network, carries out PIN code verification optimization on the hybrid encryption algorithm, solves the safety problem of data transmission of non-designated equipment, and effectively protects false data packets.

Description

Bluetooth connection encryption method with high network communication security
Technical Field
The invention relates to the field of network communication security, in particular to a Bluetooth connection encryption method with high network communication security.
Background
With the increase of bluetooth devices, bluetooth gateways capable of controlling a large number of bluetooth devices in an area are gradually required, such as: the environment of enterprises, campuses, hospitals and the like is greatly required. The information transmitted in the bluetooth network communication is so large that the security of the bluetooth network communication becomes very important.
The existing common Bluetooth encryption algorithm comprises a DES encryption algorithm and an RSA encryption algorithm, the security of the DES encryption algorithm is not very high, but the information transmission efficiency for large data volume is very high, and the security of the RSA encryption algorithm is very high but the calculation speed is relatively slow.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, and provides a Bluetooth connection encryption method with high network communication security, which combines a DES and RSA hybrid encryption algorithm, performs PIN code verification optimization on the hybrid encryption algorithm, and greatly improves the Bluetooth network communication security.
The technical scheme of the invention is as follows:
a Bluetooth connection encryption method with high network communication security comprises the following steps:
(1) Enabling the equipment a and the equipment b to establish Bluetooth connection;
(2) When Bluetooth data is transmitted between a device and a device b, the same encryption and decryption keys are established for 64bit data plaintext by using a DES encryption algorithm, encryption is carried out, and then the keys are encrypted by using an RSA encryption algorithm;
(3) Then transmitting the ciphertext and the RSA encrypted secret key to a receiver;
(4) After receiving the data packet, the receiver decrypts RSA to obtain DES key and then decrypts ciphertext to obtain plaintext.
Further, in step (2), a check code is added in the bluetooth data transmission between the a device and the b device, and the check code is also encrypted and transmitted by using a DES encryption algorithm.
Further, the check code is composed of a Mac address of the a equipment, a Mac address of the b equipment and a Bluetooth connection PIN code established between the a equipment and the b equipment.
Further, in step (4), after receiving the data packet, the receiver needs to check the check code, and if the check code is incorrect, data transmission and access are refused.
Compared with the prior art, the invention has the beneficial effects that: the invention combines the DES encryption algorithm and the RSA encryption algorithm, fully utilizes the advantages of the DES encryption algorithm and the RSA encryption algorithm, greatly improves the communication safety of the Bluetooth network, carries out PIN code verification optimization on the hybrid encryption algorithm, solves the safety problem of data transmission of non-designated equipment, and effectively protects false data packets.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments or the description of the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a bluetooth connection encryption method with high network communication security.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In order to illustrate the technical scheme of the invention, the following description is made by specific examples.
Examples
Referring to fig. 1, the embodiment of the invention provides a bluetooth connection encryption method with high network communication security, which combines DES and RSA hybrid encryption algorithms, and performs PIN code verification optimization on the hybrid encryption algorithm, thereby greatly improving the bluetooth network communication security, and specifically, the method comprises the following steps:
step (1): enabling the equipment a and the equipment b to establish Bluetooth connection;
step (2): when Bluetooth data is transmitted between a device and a device b, the same encryption and decryption keys are established for 64bit data plaintext by using a DES encryption algorithm, encryption is carried out, and then the keys are encrypted by using an RSA encryption algorithm;
the check code is added in the Bluetooth data transmission between the a equipment and the b equipment, and the check code is also encrypted and transmitted by using a DES encryption algorithm, and consists of a Mac address of the a equipment, a Mac address of the b equipment and a Bluetooth connection PIN code established between the a equipment and the b equipment, for example: the Mac address of the equipment a is A, the Mac address of the equipment B is B, the PIN code of the Bluetooth connection established by the equipment a and the equipment B is C, and the check code is 'A' + 'B' + 'C';
step (3): then transmitting the ciphertext and the RSA encrypted secret key to a receiver;
step (4): after receiving the data packet, the receiver decrypts RSA to obtain a DES key and then decrypts ciphertext to obtain plaintext;
and after receiving the data packet, the receiver also needs to check the check code, and refuses data transmission and access if the check code is incorrect.
In summary, the Bluetooth connection encryption method with high network communication security combines the DES encryption algorithm and the RSA encryption algorithm, fully utilizes the advantages of the DES encryption algorithm and the RSA encryption algorithm, greatly improves the Bluetooth network communication security, performs PIN code verification optimization on the hybrid encryption algorithm, solves the security problem of data transmission of non-designated equipment, and effectively protects false data packets.
The foregoing description of the preferred embodiment of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.

Claims (1)

1. The Bluetooth connection encryption method with high network communication security is characterized by comprising the following steps:
(1) Enabling the equipment a and the equipment b to establish Bluetooth connection;
(2) When Bluetooth data is transmitted between a device and B device, the same encryption and decryption key is established for 64bit data plaintext by using a DES encryption algorithm, encryption is carried out on the key by using an RSA encryption algorithm, a check code is added in Bluetooth data transmission between the a device and the B device, the check code is also encrypted and transmitted by using the DES encryption algorithm, the check code consists of Mac address of the a device, mac address of the B device and Bluetooth connection PIN code established between the a device and the B device, mac address of the a device is set as A, mac address of the B device is set as B, bluetooth connection PIN code established between the a device and the B device is set as C, and the check code is set as 'A' + 'B' + 'C';
(3) Then transmitting the ciphertext and the RSA encrypted secret key to a receiver;
(4) After receiving the data packet, the receiver decrypts RSA to obtain DES key and then decrypts ciphertext to obtain plaintext, wherein the receiver needs to check the check code after receiving the data packet, and refuses data transmission and access if the check code is incorrect.
CN202111113224.XA 2021-09-22 2021-09-22 Bluetooth connection encryption method with high network communication security Active CN114040366B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111113224.XA CN114040366B (en) 2021-09-22 2021-09-22 Bluetooth connection encryption method with high network communication security

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111113224.XA CN114040366B (en) 2021-09-22 2021-09-22 Bluetooth connection encryption method with high network communication security

Publications (2)

Publication Number Publication Date
CN114040366A CN114040366A (en) 2022-02-11
CN114040366B true CN114040366B (en) 2024-04-09

Family

ID=80134680

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111113224.XA Active CN114040366B (en) 2021-09-22 2021-09-22 Bluetooth connection encryption method with high network communication security

Country Status (1)

Country Link
CN (1) CN114040366B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5319710A (en) * 1986-08-22 1994-06-07 Tandem Computers Incorporated Method and means for combining and managing personal verification and message authentication encrytions for network transmission
US6118870A (en) * 1996-10-09 2000-09-12 Lsi Logic Corp. Microprocessor having instruction set extensions for decryption and multimedia applications
CN1805339A (en) * 2005-12-31 2006-07-19 北京握奇数据系统有限公司 Digital signature supporting personal trusted device and its method for implementing signature
CN101938357A (en) * 2010-08-19 2011-01-05 北京快通高速路电子收费系统有限公司 Method based on off-line authorization of safety access module, card tool and authentication card
WO2011121713A1 (en) * 2010-03-29 2011-10-06 富士通株式会社 Node, transfer method, and transfer program
CN102333093A (en) * 2011-09-28 2012-01-25 深圳市赛格导航科技股份有限公司 Data encryption transmission method and system
WO2012071717A1 (en) * 2010-11-29 2012-06-07 北京卓微天成科技咨询有限公司 Data encryption and decryption method and device
CN102945526A (en) * 2012-10-24 2013-02-27 北京深思洛克软件技术股份有限公司 Device and method for improving online payment security of mobile equipment
CN103051664A (en) * 2012-08-14 2013-04-17 深圳市朗科科技股份有限公司 File management method and device for cloud storage system as well as cloud storage system
CN107872318A (en) * 2017-11-02 2018-04-03 郑州云海信息技术有限公司 A kind of DES_RSA mixing enciphering and deciphering algorithm
CN108270565A (en) * 2016-12-30 2018-07-10 广东精点数据科技股份有限公司 A kind of data mixing encryption method
WO2019029471A1 (en) * 2017-08-10 2019-02-14 乐鑫信息科技(上海)股份有限公司 Bluetooth network and network configuration method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI108813B (en) * 1999-03-08 2002-03-28 Sonera Smarttrust Oy Method and system in the communication system

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5319710A (en) * 1986-08-22 1994-06-07 Tandem Computers Incorporated Method and means for combining and managing personal verification and message authentication encrytions for network transmission
US6118870A (en) * 1996-10-09 2000-09-12 Lsi Logic Corp. Microprocessor having instruction set extensions for decryption and multimedia applications
CN1805339A (en) * 2005-12-31 2006-07-19 北京握奇数据系统有限公司 Digital signature supporting personal trusted device and its method for implementing signature
WO2011121713A1 (en) * 2010-03-29 2011-10-06 富士通株式会社 Node, transfer method, and transfer program
CN101938357A (en) * 2010-08-19 2011-01-05 北京快通高速路电子收费系统有限公司 Method based on off-line authorization of safety access module, card tool and authentication card
WO2012071717A1 (en) * 2010-11-29 2012-06-07 北京卓微天成科技咨询有限公司 Data encryption and decryption method and device
CN102333093A (en) * 2011-09-28 2012-01-25 深圳市赛格导航科技股份有限公司 Data encryption transmission method and system
CN103051664A (en) * 2012-08-14 2013-04-17 深圳市朗科科技股份有限公司 File management method and device for cloud storage system as well as cloud storage system
CN102945526A (en) * 2012-10-24 2013-02-27 北京深思洛克软件技术股份有限公司 Device and method for improving online payment security of mobile equipment
CN108270565A (en) * 2016-12-30 2018-07-10 广东精点数据科技股份有限公司 A kind of data mixing encryption method
WO2019029471A1 (en) * 2017-08-10 2019-02-14 乐鑫信息科技(上海)股份有限公司 Bluetooth network and network configuration method
CN107872318A (en) * 2017-11-02 2018-04-03 郑州云海信息技术有限公司 A kind of DES_RSA mixing enciphering and deciphering algorithm

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Wuling Ren,Zhiqian Miao.A Hybrid Encryption Algorithm Based on DES and RSA in Bluetooth Communication.《2010 Second International Conference on Modeling, Simulation and Visualization Methods》.2010,正文1-5页. *
以DES为基础的蓝牙加密算法的研究与实现;郑之光, 杨红丽;小型微型计算机系统;20050221(第02期);全篇 *
涂士琦.蓝牙技术中基于DES和RSA混合加密算法的 研究.《中国优秀硕士学位论文全文数据库信息科技辑》.2020,正文第22-23页. *

Also Published As

Publication number Publication date
CN114040366A (en) 2022-02-11

Similar Documents

Publication Publication Date Title
CN101197674B (en) Encrypted communication method, server and encrypted communication system
KR100983050B1 (en) System, method and computer program product for authenticating a data agreement between network entities
EP4254861A1 (en) Secure access method and device
CN102035845B (en) Switching equipment for supporting link layer secrecy transmission and data processing method thereof
CN102682506A (en) Intelligent Bluetooth door access control method and device based on symmetric cryptographic technique
CN107005927A (en) Cut-in method, equipment and the system of user equipment (UE)
JP4611527B2 (en) How to overcome weakened keys in cryptographic systems
KR101675332B1 (en) Data commincaiton method for vehicle, Electronic Control Unit and system thereof
CN101895882A (en) Data transmission method, system and device in WiMAX system
CN101707767B (en) Data transmission method and devices
CN107094138A (en) A kind of smart home safe communication system and communication means
US10419212B2 (en) Methods, systems, apparatuses, and devices for securing network communications using multiple security protocols
CN105407109A (en) Data secure transmission method between Bluetooth devices
CN102271330A (en) Terminal, network server and method for communication between terminal and network server
US20040255121A1 (en) Method and communication terminal device for secure establishment of a communication connection
CN103763697B (en) A kind of WAP multi-key cipher supports system and method
CN102158856A (en) Mobile terminal identification code authentication system and method, server and terminal
CN114040366B (en) Bluetooth connection encryption method with high network communication security
US10972912B1 (en) Dynamic establishment of trust between locally connected devices
CN113795023B (en) Bluetooth data transmission encryption method based on chaotic sequence and packet encryption
CN105827601A (en) Data encryption application method and system of mobile device
JP5361970B2 (en) Communication system, first communication device, second communication device, encrypted communication method, and program
JP5552104B2 (en) Communication system and communication method
CN116170802B (en) Internet of things communication method, system and computer readable storage medium
Patheja et al. A hybrid encryption technique to secure Bluetooth communication

Legal Events

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