A restful API that provides cryptographic services such as: symmetric encryption and decryption, asymmetric encryption and decryption, hashing data, digitally signing data, digital signature verification, key storing and retrieving
Link: http://3.15.178.19:5000/
- Building a RESTful API.
- Strengthening knowledge on crypto services
- MVC Architectural Pattern.
- Flask framework, flask blueprints pattern
- Flask-JWT- Extended for user authentication
- PyCrypto Library for encryption (AES,RSA), hashing(SHA256) and digital signatures(PKCS1)
- Werkzeug Web Server Gateway Interface
- SQLite relational database used as backend database
- HTTP (GET, POST, PUT, PATCH, DELETE, status codes)
- Postman for testing endpoints
- Generate symmetric key:

- Generate asymmetric key:

- Symmetric Encryption:

- Symmetric Decryption:

- Sign and verify signature:

- User Register and Login:
(Note: Succesful login will generate a token)

- Store and retreive keys
(Note: Token is required for authorization)

source venv/bin/activate
pkill gunicorn gunicorn --bind 0.0.0.0:5000 main:app
