| Algorithm - II: Trend Based Security Key Validation (TBSKV) Algorithm |
| Step - 1. Accept the series of generated Pub_Key as PK[] |
| Step - 2. Accept the series of generated Pri_Key as PVK[] |
| Step - 3. Generate the random trend sequence as T[] |
| Step - 4. Calculate the mean for PK[] as MPK |
| Step - 5. Calculate the mean for PVK[] as MPVK |
| Step - 6. Calculate the mean for T[] as MT |
| Step - 7. Calculate the correlation factor for PK[] as CPK |
| a. CPK ={(PK[].MT) 2 - (T[].MPK) 2}/(MPK.MT) |
| Step - 8. Calculate the correlation factor for PVK[] as CPVK |
| a. CPVK = (PVK[].MT)2 - (T[].MPVK)2/(MPVK.MT) |
| Step - 9. If CPK and CPVK as CPK! =CPVK and CPK, CPVK > 0.05 [As per correlation theory] |
| Step - 10. Then, Return the Pub_Key & Pri_Key pair |
| Step - 11. Else, drop the Pub_Key & Pri_Key pair |