| Algorithm 1. Registration Phase of FBAT |
| 1: Draw a GUI in function 2: Initialize Ю 3: Select triangle ← {L1} 4: Pattern saved ← ϸ 5: L1++ 6: If 7: Wrong selection ← {L1} 8: Retry 9: Return L1 10: Else 11: Select triangle ← {L2} 12: Pattern saved ← ϸ 13: L2++ 14: Endif 15: Wrong selection ← {L2} 16: Retry 17: Return {L2} 18: Else 19: Triangle selection ← {L3} 20: Data saved ← ϸ 21: Endif 22: Wrong selection ← {L3} 23: Retry 24: Return {L3} 25: Else 26: Continue for confirmation 27: Endif 28: Repeat L1 to L3 29: Confirm 30: If 31: Set password == confirm password 32: Password set 33: Password saved ← ∂ 34: endif |