You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CryptAnyL_A.py
+38-10Lines changed: 38 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -41,21 +41,32 @@ def uslovia(inputt):
41
41
-cl-ppr = clear privat public
42
42
-cl-f = clear friend's key
43
43
44
-
-f + ' ' + choose path to file; выберите путь до файла = It encrypts file and puts it in For_sent. Send this file with stiring of key. Don't encrypted this key by Fiend's key, it's already encrypted, just send file and key. ; Шифрует файл и кладет его в For_sent. Отправьте этот файл и ключ. Не стоит шифровать ключ по ключам друга, они уже зашифрованы по ним. OR USE -p + ' ' + path to file; путь до файла.
44
+
-f + ' ' + choose path to file; выберите путь до файла = It encrypts file and puts it in For_sent.
45
+
Send this file with stiring of key. Don't encrypted this key by Fiend's key, it's already encrypted, just send file and key. ;
46
+
Шифрует файл и кладет его в For_sent. Отправьте этот файл и ключ. Не стоит шифровать ключ по ключам друга, они уже зашифрованы по ним. OR USE -p + ' ' + path to file; путь до файла.
45
47
46
-
-F + ' ' + key; ключ + (choose path to encrypted file; выберите путь до зашифрованного файла) = It decrypts file and puts it in Down_files. For decrypt file, use key. Don't decrypt key, it works automatically. Расшифрововает файл и кладет в Down_files. Используйте ключ. Не расшифровайте ключ, вставте так же, это произойдет автоматически. OR USE -P + ' ' + key; ключ + (path to encrypted file; путь до зашифрованного файла)
47
-
* Don't delete sl.txt or save it with encrypted file! Не удаляй sl.txt или транспортируй его с зашифрованным файлом.
48
-
49
-
-l = chatting by for_driver.txt
48
+
-F + ' ' + key; ключ + (choose path to encrypted file; выберите путь до зашифрованного файла) = It decrypts file and puts it in Down_files.
49
+
For decrypt file, use key. Don't decrypt key, it works automatically.
50
+
Расшифрововает файл и кладет в Down_files. Используйте ключ.
51
+
Не расшифровайте ключ, вставте так же, это произойдет автоматически. OR USE -P + ' ' + key; ключ + (path to encrypted file; путь до зашифрованного файла)
50
52
51
53
-z = encrypt the file by your password
52
54
-Z = decrypt the file by your password
53
-
-
55
+
56
+
-d = creats for_driver.txt
57
+
-l = chatting by for_driver.txt
58
+
-r = random numbers
59
+
54
60
While chat ; Во время переписки:
55
61
[enter] = Pass this part; Пропустить это действие
56
62
57
-
This pragram is based on open source libraries. The author is not responsible for data loss during use. By using the program, the user assumes full responsibility for all consequences. The author urges to use the program only with good intentions.;
58
-
Это праграмма основана на библиотеках с отрытым исходным кодом. Автор не несет ответсвенность за потерю данных при использования. Пользуясь программой, пользователь принимает полную ответственность за все последствия на себя. Автор настоятельно призывает использовать прогрмму только с благими намериниями.
63
+
64
+
This pragram is based on open source libraries. The author is not responsible for data loss during use.
65
+
By using the program, the user assumes full responsibility for all consequences.
66
+
The author urges to use the program only with good intentions.;
67
+
Это праграмма основана на библиотеках с отрытым исходным кодом.
68
+
Автор не несет ответсвенность за потерю данных при использования. Пользуясь программой, пользователь принимает полную ответственность за все последствия на себя.
69
+
Автор настоятельно призывает использовать прогрмму только с благими намериниями.
59
70
""")
60
71
what_to_do='continue'
61
72
@@ -142,7 +153,7 @@ def uslovia(inputt):
142
153
DRIVE('', '', puthToServer)
143
154
driver=True
144
155
145
-
if'-f'ininputt:
156
+
ifinputt=='-f':
146
157
Tk().withdraw() # we don't want a full GUI, so keep the root window from appearing
147
158
path=askopenfilename() # show an "Open" dialog box and return the path to the selected file
148
159
# path = inputt.split('-f ')[1]
@@ -163,7 +174,7 @@ def uslovia(inputt):
163
174
# pass
164
175
165
176
# try:
166
-
if'-F'ininputt:
177
+
ifinputt=='-F':
167
178
#key = inputt.split(' ')[1]
168
179
Tk().withdraw()
169
180
path=askopenfilename()
@@ -365,6 +376,23 @@ def uslovia(inputt):
365
376
print(extract_tb(exc_info()[2])[0][1], e)
366
377
pass
367
378
what_to_do='continue'
379
+
ifstr(inputt) =='-r':
380
+
print("random: "+str(random.random()))
381
+
try:
382
+
RandomRangeStart=float(input('write range start:'))
383
+
ifRandomRangeStart=="":
384
+
pass
385
+
else:
386
+
RandomRangeFinish=float(input('write range finish:'))
0 commit comments