-
Generate random main key with sha1 format
-
Store main key in both web service and android
-
Login:
- Encrypt data login with main key and otp with hmac
- Send encrypted data login to web service
- web service decrypt data with main key and otp scan
- if login success, then response with token and enckey for next encryption
- Save enckey in both web service and android
-
Done
- Debug Option
- Cleartext request and response json
- Encrypted request and response with key field
- All data including operation response encrypted and secured
Laravel Lumen is a stunningly fast PHP micro-framework for building web applications with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Lumen attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as routing, database abstraction, queueing, and caching.
Documentation for the framework can be found on the Lumen website.
If you discover a security vulnerability within Lumen, please send an e-mail to Taylor Otwell at [email protected]. All security vulnerabilities will be promptly addressed.
The Lumen framework is open-sourced software licensed under the MIT license.