| Algorithm 2. Authentication Phase of FBAT |
| 1: Draw a GUI in function 2: Initialize Ю 3: Initialize ς 4: Select triangle {L1} 5: Pattern saved ϸ 6: L1++ 7: Select triangle {L2} 8: Pattern saved ϸ 9: L2++ 10: Triangle selection {L3} 11: Data saved ϸ 12: if 13: Pattern value = = saved value 14: Unlock 15: Else 16: Error message 17: Retry 18: ς ++ 19: if 20: ς ++ ≥ 5 21: Timer set == 30 s 22: endif |