Skip to content

Commit

Permalink
Merge pull request #13 from Tawishi/update-readme
Browse files Browse the repository at this point in the history
Documentation for tool
  • Loading branch information
rexdivakar authored Oct 2, 2020
2 parents 6492d5f + 3265858 commit d3d946b
Show file tree
Hide file tree
Showing 5 changed files with 105 additions and 2 deletions.
107 changes: 105 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,105 @@
This tool is an Open Source AES Standard encrytion tool, Always make sure to
backup the encryption key if not the files cannot be reverted back....!!!
[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![MIT License][license-shield]][license-url]

## Table of Contents
* [About the tool](#about-the-tool)
* [Built With](#built-with)
* [Getting started](#getting-started)
* [Working of the tool](#working-of-the-tool)
* [Prerequisites](#prerequisites)
* [Contributing](#contributing)

## About the Tool
This is an Open Source [AES Standard encrytion][0] tool.<br>
AES stands for Advanced Encrption Standard. It is a symmetric-key algorithm, meaning the same key is used for both encrypting and decrypting the data.
<br>
![AES][img1]
<br>
<p>
AES encryption has three different block ciphers: AES-128 (128 bit), AES-192 (192 bit) and AES-256 (256 bit). These block ciphers are named after the key length they use for encryption and decryption. All these ciphers encrypt and decrypt the data in 128-bit blocks but they use different sizes of cryptographic keys.
</p>

![image][img2]
<br>
A file (*temp_key.txt*) for storing the encryption key(s) for file(s)/folder(s) encrypted using the tool is automatically created in the current working directory.
*Always make sure to backup the encryption key if not the files cannot be reverted back....!!!*

## Built With
* [Python][1]

## Getting Started
To run the tool locally,
* Clone the repository. For instructions to [clone][2] the repo proceed [here][3].
* Follow these steps on your *OS*
* *On Linux* : Open the terminal and make sure that the present working directory(folder) is the same as the directory containg the *File_Encryptor.py* file. Check this using the following command
```
pwd
```
It will display the path of the current working directory. To display the files/folders in the working directory use the command
```
ls
```
To execute the program file use the command :
```
python3 File_Encryptor.py
```
*Expected output*
![output1][img3]

### Working of the tool
**File encryption**
![output2][img4]
<br>
![output3][img5]
A file named *temp_key.txt* is created. It stores the encryption key. Also the name of the encrypted file is changed to *name.aes*(use this file name for decryption).
<br>
<br>
**File decryption**
![output4][img6]

### Prerequisites
* Python3<br>
It is preinstalled in Ubuntu 20.04. To check the version use command :
```
python3 --version
```
If it is not preinstalled for some reason, proceed [here][4] and download as per requirement.
* requirements.txt<br>
Run the following command in terminal to download the required packags for running the tool locally :
```
pip install -r requirements.txt
```
## Contributing
1. Fork the Project
1. Create your Feature Branch (git checkout -b feature/aesEncryptionCode)
1. Commit your Changes (git commit -m 'Add something')
1. Push to the Branch (git push origin feature/aesEncryptionCode)
1. Open a Pull Request

*Follow the given commands or use the amazing GitHub GUI*
<br>**Happy Contributing** :smiley:

[contributors-shield]: https://img.shields.io/github/contributors/rexdivakar/Fi1e-EncRypt0R.svg?style=flat-square
[contributors-url]: https://github.com/rexdivakar/Fi1e-EncRypt0R/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/rexdivakar/Fi1e-EncRypt0R.svg?style=flat-square
[forks-url]: https://github.com/rexdivakar/Fi1e-EncRypt0R/network/members
[stars-shield]: https://img.shields.io/github/stars/rexdivakar/Fi1e-EncRypt0R.svg?style=flat-square
[stars-url]: https://github.com/rexdivakar/Fi1e-EncRypt0R/stargazers
[issues-shield]: https://img.shields.io/github/issues/rexdivakar/Fi1e-EncRypt0R.svg?style=flat-square
[issues-url]: https://github.com/rexdivakar/Fi1e-EncRypt0R/issues
[license-shield]: https://img.shields.io/github/license/rexdivakar/Fi1e-EncRypt0R.svg?style=flat-square
[license-url]: https://github.com/rexdivakar/Fi1e-EncRypt0R/blob/master/LICENSE.txt
[0]:https://www.comparitech.com/blog/information-security/what-is-aes-encryption/
[1]:https://www.python.org/
[2]:https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/cloning-a-repository-from-github
[3]:https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/cloning-a-repository
[4]:https://www.python.org/downloads/
[img1]:https://www.atpinc.com/upload/images/2020/04-22/4e79465eb02f4422a7c4bba9f99ffa09.jpg
[img2]:https://cdn.ttgtmedia.com/rms/onlineImages/security-aes_design_mobile.jpg
[img3]:https://github.com/Tawishi/Fi1e-EncRypt0R/blob/update-readme/images/Screenshot%20from%202020-10-01%2021-22-14.png
[img4]:https://github.com/Tawishi/Fi1e-EncRypt0R/blob/update-readme/images/Screenshot%20from%202020-10-01%2021-24-53.png
[img5]:https://github.com/Tawishi/Fi1e-EncRypt0R/blob/update-readme/images/Screenshot%20from%202020-10-01%2021-26-17.png
[img6]:https://github.com/Tawishi/Fi1e-EncRypt0R/blob/update-readme/images/Screenshot%20from%202020-10-01%2021-27-23.png
Binary file added images/Screenshot from 2020-10-01 21-22-14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Screenshot from 2020-10-01 21-24-53.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Screenshot from 2020-10-01 21-26-17.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Screenshot from 2020-10-01 21-27-23.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d3d946b

Please sign in to comment.