Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/odavhad/kryptographie
A Flask app to encrypt and decrypt text.
https://github.com/odavhad/kryptographie
fernet-encryption flask python
Last synced: about 2 months ago
JSON representation
A Flask app to encrypt and decrypt text.
- Host: GitHub
- URL: https://github.com/odavhad/kryptographie
- Owner: odavhad
- License: mit
- Created: 2021-06-05T14:04:40.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-07-20T16:51:49.000Z (over 3 years ago)
- Last Synced: 2024-10-12T21:47:34.900Z (3 months ago)
- Topics: fernet-encryption, flask, python
- Language: Python
- Homepage: http://kryptographie.pythonanywhere.com/
- Size: 257 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kryptographie
A Flask app that can be used for secure encryption and decryption for given text using the Fernet utility of the cryptography module.
The user can enter any text, following which the webapp generates a key and outputs the encrypted text along with the key. The user has to use the same key for decrypting the encrypted text.
The website is deployed [here](http://kryptographie.pythonanywhere.com/).
## Preview
![preview](preview/preview.gif)
## Getting Started
1. Fork the repository and then clone the repository locally. Type the following command/s in the terminal. \
`git clone https://github.com//kryptographie.git`2. Navigate to the app directory. Type the following command/s in the terminal. \
`cd kryptographie`3. Create a new virtual environment and install the required Python modules. Type the following command/s in the terminal. \
`python3 -m venv venv` \
`source venv/bin/activate` \
`pip install -r requirements.txt`4. Export the Flask environment variables. Type the following command/s in the terminal. \
`export FLASK_APP=kryptographie` \
`export FLASK_ENV=development` \
Note, the value of _'FLASK_ENV'_ must be set to 'production' while deploying the application.
5. Run the app. Type the following command/s in the terminal. \
`flask run`