Journal of Computer Networks and Communications / 2016 / Article / Alg 2

Research Article

Replica Node Detection Using Enhanced Single Hop Detection with Clonal Selection Algorithm in Mobile Wireless Sensor Networks

Algorithm 2

Local verification.
If (local verification)
 If (check (public key of neighbor node, fingerprint claim of neighbor node) ≠ 1)
   Set signature = false
 Else
 claimed_neighbors extract neighbor list from fingerprint claim of a neighbor node
 If (Node id not in claimed neighbors)
   Set signature = false
 Else
   Set signature = true