Skip to main content
. 2022 Oct 21;22(20):8046. doi: 10.3390/s22208046
Algorithm 1. Procedure A.
Procedure (A): gen:randnLA,s:seed
Input: nL,seed, s:seed
Output: random number, R
1. Get node MAC address (48 bits), nLA
2. Set random seed matrix seed ik
3. Computer, s:seed  nici,τ; nisender, cichannel id, τSession id
            s:seed=nLA||seed ixkx
      n_ri=rands:seedTN; TTimestamp , NNonce
4. Call the SHA-3 (512 Bits) function and do
               R=Sha_3512nri
5. Start binary bit string computation,
        Rb=tr_binR; tr_binBit truncation
6. Redo for all ni.
7. Construct binary Rb matrix, Rbik
8. Generate random slot bits, R=rand_electRbik
9. Store Ri in Key s iteratively
10. Recall the steps from 1 to 10.
End of Procedure (A)