File tree Expand file tree Collapse file tree
projects/Create_script_to_encode_and_decode_text Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- ## create script to encode and decode text
1+ # Script Title
2+ <!-- Remove the below lines and add yours -->
3+ A small python program that creates a script to encode and decode text
24
3- ### usage
5+ ### Prerequisites
6+ <!-- Remove the below lines and add yours -->
7+ - pycryptodome 3.9.8
8+ - Python 3
49
5- python aes_encode.py "a text"
6-
7- example:
10+ ### How to run the script
11+ <!-- Remove the below lines and add yours -->
12+ > python aes_encode.py "a text"
13+ Example:
814 python aes_encode.py "hello world"
15+ An encrypted file("encrypted.bin") will be generated after the program is run
16+
17+ ### Screenshot/GIF showing the sample use of the script
18+ <!-- Remove the below lines and add yours -->
19+ ![ output] ( https://github.com/Python-World/python-mini-projects/tree/master/projects/Create_script_to_encode_and_decode_text/output.png )
920
10- An encrypted file("encrypted.bin") will be generated after the program is run
21+ ## * Author Name*
22+ <!-- Remove the below lines and add yours -->
23+ [ Fin McCallum] ( https://github.com/FinMc )
Original file line number Diff line number Diff line change 1- from Cryptodome .Cipher import AES
2- from Cryptodome import Random
1+ from Crypto .Cipher import AES
2+ from Crypto import Random
33from binascii import b2a_hex
44import sys
55
You can’t perform that action at this time.
0 commit comments