Skip to content

Several encryptors (cryptographic secure or not) available in a REST API fashion, using Flask

Notifications You must be signed in to change notification settings

John-Ted/Encryptor

 
 

Repository files navigation

🔒 🔑 Encryptor

Encryptor Logo

Several encryptors (cryptographic secure or not) available in a REST API fashion, using Flask

💻 Running

  • To configure Sentry, you need to create an account at sentry.io and generate a key. You can set it as an environment variable with the name SENTRY_DSN or create a .env and create an entry SENTRY_DSN=<your SENTRY_DSN here>

  • To install the required libraries you should run pip install -r requirements.txt && pip install -e .

  • To run the application, you just need to run the following command, and access the API at port 5000 of your local host: FLASK_APP=encryptor flask run

🚦 Trying out

You can try out each encryptor in their respective route based in the following model: localhost:5000/api/:encryptor/{encrypt|decrypt}/:text?option_1=x&option_2=y, where you can see the required options in each route at the source file. Example to encrypt the text github with an offset of 4, using a Ceasar cypher: localhost:5000/api/ceasar/encrypt/github?offset=4.

✅ Tests

You can test this application running the pytest command

💪 Contributing

You may check CONTRIBUTING.md if you want to contribute to the project! I would highly reccommend you to do so, as we are trying to build something really nice and beginner friendly.

👥 Contributors

About

Several encryptors (cryptographic secure or not) available in a REST API fashion, using Flask

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%