Skip to content

abudawud/api.otp-app

Repository files navigation

OTP Flow

  • 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

Feature

  • Debug Option
    • Cleartext request and response json
    • Encrypted request and response with key field
    • All data including operation response encrypted and secured

Lumen PHP Framework

Build Status Total Downloads Latest Stable Version Latest Unstable Version License

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.

Official Documentation

Documentation for the framework can be found on the Lumen website.

Security Vulnerabilities

If you discover a security vulnerability within Lumen, please send an e-mail to Taylor Otwell at taylor@laravel.com. All security vulnerabilities will be promptly addressed.

License

The Lumen framework is open-sourced software licensed under the MIT license.

About

Rest API Backend with for OTP App Mobile

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages