Research Article

Muscle Activity-Driven Green-Oriented Random Number Generation Mechanism to Secure WBSN Wearable Device Communications

Algorithm 1

EMG-based RN generation algorithm.
Definition:
   : all subjects who are volunteers for EMG collection
  : all wearable sensor used to acquire the EMG signals
   : all the EMG signals collected from subjects
1: for () do
2:  for () do
3:   execute EMG signal acquisition;
4:  end for
5: end for
6: for () do
7:  take the EMG signal sample;
8:  divide EMG signals into 128 segments;
9:  extract EMG features using wavelet analysis method;
10:  encode the EMG features to generate 128-bit RNs.
11: end for