DATABASE SECURITY IN WIRELESS
SENSOR NETWORK THROUGH PGP
AND ID3*
Mandeep Kaur*
Dept. of Comp. Sci. & Engg., PTU [email protected]
Poonam Rana*
Dept. of Comp. Sci. & Engg., PTU [email protected]
Rishma*
HOD Comp.Sci. & Engg., PTU RIET,Phagwara [email protected]
ABSTRACT:
In the new era of this century, data is sent and receive in electronic form i.e. E-mail. So the risk of data hack and loss is increased. So for the security of data is the main requirement of any organization. This paper propose an idea of using wireless sensor network for the security of database. For this purpose two algorithms are used PGP(Pretty Good Privacy algorithm) and ID3(Iterative Dichotomiser 3 algorithm) which will help for security as well as speed of data.
Keywords: PGP;ID3;WNS;MATLAB;
I INTRODUCTION
II WIRELESS SENSOR NETWORK
A wireless sensor network[4] is a collection of sensor nodes organized into a cooperative network for storing, processing and relaying the sensed data, often to a base station for further computation , it has a RF transceiver , and accommodate various sensors and actuators. In this nodes communicate wirelessly[5] and often self-organize after being deployed in an ad hoc system. It can be considered as the Internet becoming a physical network. Wireless sensor networks can be used in many applications[7], such as environmental, medical, military, transportation, entertainment, crisis management, homeland defense, and smart spaces. The information needed by smart environments is provided[6] by Wireless Sensor Networks, which are responsible for sensing as well as for the first stages of the processing hierarchy. A wireless sensor network is a distributed real-time system. It is used for gathering[8] records from insecure environment. All security protocols for WSN believe that the opponent can achieve entirely control over a sensor node by way of direct physical access.
III PGP(PRETTY GOOD PRIVACY)
PGP(Pretty Good Privacy) is a security algorithm in wireless sensor network. It is used for provide security in database. It is most widely used standard in the world for securing electronic mails. It provides confidentiality, integrity and authentication to its users. These security services are provided at a cost of various cryptographic algorithms. Given a data, choosing particular algorithms for its security, according to the user requirements, is a non-trivial task. PGP is an example of lightweight encryption algorithm[9]. Lightweight encryption algorithms are employed in hand held devices, low power operating systems and low power wireless sensor networks because they take less time for encrypting video data[10]. Encryption is a process of converting plaintext that is understand by human to cipher text that is understand by machine
Figure 1: General Steps in Lightweight Encryption
When using PGP algorithm the key pair is generated. One key of the pair is the Private key which should always be kept safe and never given to anyone. The other key is the public key which should be given to as many people as possible. PGP encryption uses a serial combination of hashing, data compression, symmetric-key cryptography, and, finally, public-key cryptography, each step uses one of several supported algorithms. Each public key is bound to a user name and/or an e-mail address.
IV ID3 ALGORITHM
Understandable prediction rules are created from the training data, Builds the fastest tree. Builds a short tree, Only need to test enough attributes until all data is classified, Finding leaf nodes enables test data to be pruned, reducing number of tests and whole dataset is searched to create tree. The disadvantages of using ID3 is Data may be over-fitted or over-classified, if a small sample is tested, Only one attribute at a time is tested for making a decision, Classifying continuous data may be computationally expensive, as many trees must be generated to see where to break the continuum.
ID3 algorithm is best suited for: -
1. Instance is represented as attribute-value pairs. 2. Target function has discrete output values. 3. Attribute values should be nominal.
V EXPERIMENTAL WORK
Database security is applied by two algorithms i.e. PGP(pretty Good Privacy)algorithm and ID3(Decision tree) algorithm. Wireless Sensor Network sense the authorization of nodes. ID3 algorithm arranges all the nodes in the form of tree and if it found any unauthorized node accessing then it will block. On the other hand PGP is used to encrypt the data and send data in the form of encrypted data. Now the node that has decrypt key only that can access the data unauthorized can’t read it. The speed of ID3 is less then PGP because the work of ID3 is to check the authorization of each and every node on the other hand work of PGP is to encrypt the data send from one node to another node.
In this paper we work on MATLAB then we conclude that in fig2. the data variations of our database with respect to error rate. It shows that error rate of PGP is more than ID3 algorithm in this graph PGP shows in blue colour and ID3 in red colour and variations shows in pink colour. 3Dimmensional axis in figure3 showing the attack based variations of ID3, PGP in the assume database. figure 4 shows that error rate, data delivery and real and imazinary axis of PGP in terms of sinx and cosx. It clears that error rate of PGP is high but data delivery is fast on the other hand graph of ID3 algorithm is denial because ID3 algorithm works on virtual access which makes ID3 process slow.
Fig3. 3D axis graph for attack based variations in PGP and ID3
Fig4. Packet delivery
CONCLUSION
In this paper, database security in wireless sensor network was described, the specific approaches of database security are characterized and compare two algorithms i.e. PGP and ID3. In wireless sensor network when unauthorized person enter in the network or hack the data then ID3 algorithm provide security in the form of fault tolerance but ID3 process is slow because it works in the form of decision tree and consume more power and packet delivery ratio is less. On the other hand PGP algorithm used less power consumption makes a process fast because it used shortest path for packet delivery then delivery ratio is more.PGP use encryption technique to secure the data. PGP uses route of optimization for packet delivery. At last we says that PGP is much more better than ID3 algorithm because PGP transfer data with more speed than ID3 and it is not easy to decrypt data by unauthorized node.
REFERENCES
[1] Modares, H.; Salleh, R.; Moravejosharieh, A. “Overview of Security Issues in Wireless Sensor Networks” Computational Intelligence,
Modelling and Simulation (CIMSiM), 2011 Third International Conference on Digital Object Identifier: 10.1109/CIMSim.2011.62.
[2] Bertino ,E.; Sandhu, R. “Database security - concepts, approaches, and challenges” Dependable and Secure Computing, IEEE
Transactions on Volume: 2 , Issue: 1 Digital Object Identifier: 10.1109/TDSC.2005.9.
[3] Kumar, D.; Kashyap, D.; Mishra, K.K.; Misra, A.K. “Security Vs cost: An issue of multi-objective optimization for choosing PGP
[9] Ben Adida, Susan Hohenberger and Ronald L. Rivest, “Lightweight Encryption for Email”, In Proceedings of the Steps to Reducing Unwanted Traffic on the Internet Workshop, August 2005.
[10] Axel Poschmann, Gregor Leander, Kai Schramm and Christof Paar, “New Light-Weight Crypto Algorithms for RFID”, IEEE
International Symposium on Circuits and Systems, May 2007.
[11] Sheri, G.; Corne, D. “Learning-assisted evolutionary search for scalable function optimization: LEM(ID3) “Evolutionary Computation
(CEC), 2010 IEEE Congress on Digital Object Identifier: 10.1109/CEC.2010.5586226
[12] Wei Peng, Juhua Chen and Haiping Zhou,” An Implementation of ID3 --- Decision Tree Learning Algorithm” Machine Learning
University of New South Wales, Sydney, NSW 2032, Australia.
[13] Li Ran, Chen Li, and Gu Xueping, “Condition-Based Maintenance of Electrical Equipments Based on 1D3 Algorithm and Monte
Carlo Stimulation” IEEE/PES Transmission and Distribution Conference & Exhibition: Asia and Pacific Dalian, China, 2005.