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

rafaeelaudibert/Encryptor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages