Research Article

Scalable and Storage Efficient Dynamic Key Management Scheme for Wireless Sensor Network

Algorithm 2

Algorithm to maintain the keys of newly added node.
Require: Network
1. A set of m random keys from key pool S and loaded in the node
2. Recursive function and first term u0 is also stored and deploy
3. First node try to find a common key chain with neighbours by sending it’s id Si and key ids stored in this node
4. if node find common key use that as shared key else use random number and function to generate the key
5. Node choose the cluster head as per weightage of nodes