Загрузить файлы в «/»
This commit is contained in:
6
decoder.py
Normal file
6
decoder.py
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
import base64
|
||||||
|
|
||||||
|
e_text = input('Введите текст в кодировке Base64: ').encode()
|
||||||
|
|
||||||
|
text = base64.b64decode(e_text)
|
||||||
|
print(text.decode())
|
||||||
5
encoder.py
Normal file
5
encoder.py
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
import base64
|
||||||
|
|
||||||
|
text = input('Введите текст для кодировки в Base64: ').encode()
|
||||||
|
encode = base64.b64encode(text)
|
||||||
|
print(encode)
|
||||||
Reference in New Issue
Block a user