Skip to content
This repository was archived by the owner on May 25, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 19 additions & 6 deletions projects/Create_script_to_encode_and_decode_text/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
## create script to encode and decode text
# Script Title
<!--Remove the below lines and add yours -->
A small python program that creates a script to encode and decode text

### usage
### Prerequisites
<!--Remove the below lines and add yours -->
- pycryptodome 3.9.8
- Python 3

python aes_encode.py "a text"

example:
### How to run the script
<!--Remove the below lines and add yours -->
> python aes_encode.py "a text"
Example:
python aes_encode.py "hello world"
An encrypted file("encrypted.bin") will be generated after the program is run

### Screenshot/GIF showing the sample use of the script
<!--Remove the below lines and add yours -->
![output](https://github.com/Python-World/python-mini-projects/tree/master/projects/Create_script_to_encode_and_decode_text/output.png)

An encrypted file("encrypted.bin") will be generated after the program is run
## *Author Name*
<!--Remove the below lines and add yours -->
[Fin McCallum](https://github.com/FinMc)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from Cryptodome.Cipher import AES
from Cryptodome import Random
from Crypto.Cipher import AES
from Crypto import Random
from binascii import b2a_hex
import sys

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.