CY320 | Mobile Application Security
How QR Codes Work
Encode text locally, inspect the pattern, and scan the result with your phone.
1. Enter Information
2. Inspect and Scan
Original Content
Input Bytes in Binary
The QR pattern contains encoded data, error-correction information, and positioning information. It is not simply the input bytes drawn in order.
3. Classroom Challenges
- Scan a website address and inspect the destination before opening it.
- Try entering plain text instead of a website address.
- Change one character and generate the QR code again.
- Compare the four error-correction levels.
- Cover part of the code and test whether your phone can still scan it.
Never enter passwords or personal information. A QR code is not encryption and does not prove that a website is trustworthy. Always inspect a link before opening it.