Email or username:

Password:

Forgot your password?
Top-level
Marcel Waldvogel

Nayuki explains the creation side of QR codes very well, including the selection of the mask.
nayuki.io/page/creating-a-qr-c

It is not only the ECC area that is malleable, the entire code is. Actually, *before* a QR reader starts decoding the content, it checks for (and fixes) errors in the content with help of the ECC bits.

So, a malicious user could create a code which a human would decode differently from a computer…

@whybird @cybeardjm @blinry @piko

3 comments
lgvs

@marcel
Thank you, I was just about to ask how mask was chosen! Really interesting.

@whybird @cybeardjm @blinry @piko

Marcel Waldvogel

@lgvs @whybird @cybeardjm @blinry @piko I don't think it is mentioned on the page, but in the code: To minimize uniform-color areas and eye-like patterns.

Go Up