Skip to content

Commit 92a8793

Browse files
committed
Created README in script_to_encode_and_decode_text
1 parent e55ef0a commit 92a8793

3 files changed

Lines changed: 21 additions & 8 deletions

File tree

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,23 @@
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)

‎projects/Create_script_to_encode_and_decode_text/aes_encode.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
from Cryptodome.Cipher import AES
2-
from Cryptodome import Random
1+
from Crypto.Cipher import AES
2+
from Crypto import Random
33
from binascii import b2a_hex
44
import sys
55

6.27 KB
Loading

0 commit comments

Comments
 (0)