A dynamic QR code react app demo with public-private key encryption
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
The dynamic QR is generated by using asymmetric encryption RSA algorithm. Frontend uses a public key to encrypt data, and server side keeps a private key which uses to decrypt data.
The following are the details of encryption:
Raw Text Format User ID with QR code generate time (concatenate by comma)
Example
User ID: A001
QR code generation time: 06-07-2021 02:48:44
A001,2022-06-07T02:48:44Z