The LEAP protocol was implemented and simulated using one base station and fifty sensor
nodes situated randomly. Initially, an individual key was generated for each node from a
randomly generated master key. Then a cluster key was generated by each node and published
to their neighboring nodes using the pair-wise keys. Finally, the global key was generated in
order to enable public broadcasts.