-
Notifications
You must be signed in to change notification settings - Fork 0
/
Banners.py
78 lines (74 loc) · 3.17 KB
/
Banners.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
'''
Zawiera funkcje odpowiedzialne za wyświetlanie
informacji w poszczególnych menu
'''
def bannerMain():
print("================================")
print("|| ||")
print("|| Diffie Hellman ||")
print("|| ||")
print("|| Algorithm ||")
print("|| ||")
print("================================")
print("|| ||")
print("|| MAIN MENU ||")
print("|| ||")
print("================================")
print("| DOKONAJ WYBORU: |")
print("--------------------------------")
print("| [1] Wybierz liczbę A |")
print("--------------------------------")
print("| [2] Wczytaj wiadomość |")
print("--------------------------------")
print("| [3] Generuj wiadomość |")
print("--------------------------------")
print("| [4] Generuj klucz |")
print("--------------------------------")
print("| [5] Pokaż klucze |")
print("--------------------------------")
print("| [6] Wyślij klucz |")
print("--------------------------------")
print("| [7] ZAKOŃCZ |")
print("--------------------------------\n")
def bannerWybierzA():
print("================================")
print("|| ||")
print("|| WYBIERZ A ||")
print("|| ||")
print("================================")
print("| DOKONAJ WYBORU: |")
print("--------------------------------")
print("| [1] Podaj liczbę A |")
print("--------------------------------")
print("| [2] Generuj liczbę A |")
print("--------------------------------")
print("| [3] Wczytaj z pliku |")
print("--------------------------------")
print("| [4] Wróć do MENU |")
print("--------------------------------\n")
def bannerWczytajKlucz():
print("================================")
print("|| ||")
print("|| WCZYTAJ KLUCZ ||")
print("|| ||")
print("================================")
print("| DOKONAJ WYBORU: |")
print("--------------------------------")
print("| [1] Podaj klucz |")
print("--------------------------------")
print("| [2] Wczytaj z pliku |")
print("--------------------------------")
print("| [3] Wróć do menu |")
print("--------------------------------\n")
def bannerMenuZapis():
print("================================")
print("|| ||")
print("|| ZAPISZ ||")
print("|| ||")
print("================================")
print("| DOKONAJ WYBORU: |")
print("--------------------------------")
print("| [1] Zapisz do pliku |")
print("--------------------------------")
print("| [2] Wróć do MENU |")
print("--------------------------------\n")