Tag Archives: jack dorsey

How QR codes work and what makes them dangerous – a computer scientist explains

QR codes are visual patterns that store data smartphones can read. Photo- Adobe Stock

Scott Ruoti, University of Tennessee

Among the many changes brought about by the pandemic is the widespread use of QR codes, graphical representations of digital data that can be printed and later scanned by a smartphone or other device.

QR codes have a wide range of uses that help people avoid contact with objects and close interactions with other people, including for sharing restaurant menus, email list sign-ups, car and home sales information, and checking in and out of medical and professional appointments.

QR codes are a close cousin of the bar codes on product packaging that cashiers scan with infrared scanners to let the checkout computer know what products are being purchased.

Bar codes store information along one axis, horizontally. QR codes store information in both vertical and horizontal axes, which allows them to hold significantly more data. That extra amount of data is what makes QR codes so versatile.

Anatomy of a QR code

While it is easy for people to read Arabic numerals, it is hard for a computer. Bar codes encode alphanumeric data as a series of black and white lines of various widths. At the store, bar codes record the set of numbers that specify a product’s ID. Critically, data stored in bar codes is redundant. Even if part of the bar code is destroyed or obscured, it is still possible for a device to read the product ID.

QR codes are designed to be scanned using a camera, such as those found on your smartphone. QR code scanning is built into many camera apps for Android and iOS. QR codes are most often used to store web links; however, they can store arbitrary data, such as text or images.

When you scan a QR code, the QR reader in your phone’s camera deciphers the code, and the resulting information triggers an action on your phone. If the QR code holds a URL, your phone will present you with the URL. Tap it, and your phone’s default browser will open the webpage.

QR codes are composed of several parts: data, position markers, quiet zone and optional logos.

The QR code anatomy: data (1), position markers (2), quiet zone (3) and optional logos (4). Scott Ruoti, CC BY-ND

The data in a QR code is a series of dots in a square grid. Each dot represents a one and each blank a zero in binary code, and the patterns encode sets of numbers, letters or both, including URLs. At its smallest this grid is 21 rows by 21 columns, and at its largest it is 177 rows by 177 columns. In most cases, QR codes use black squares on a white background, making the dots easy to distinguish. However, this is not a strict requirement, and QR codes can use any color or shape for the dots and background.

Position markers are squares placed in a QR code’s top-left, top-right, and bottom-left corners. These markers let a smartphone camera or other device orient the QR code when scanning it. QR codes are surrounded by blank space, the quiet zone, to help the computer determine where the QR code begins and ends. QR codes can include an optional logo in the middle.

Like barcodes, QR codes are designed with data redundancy. Even if as much as 30% of the QR code is destroyed or difficult to read, the data can still be recovered. In fact, logos are not actually part of the QR code; they cover up some of the QR code’s data. However, due to the QR code’s redundancy, the data represented by these missing dots can be recovered by looking at the remaining visible dots.

Are QR codes dangerous?

QR codes are not inherently dangerous. They are simply a way to store data. However, just as it can be hazardous to click links in emails, visiting URLs stored in QR codes can also be risky in several ways.

The QR code’s URL can take you to a phishing website that tries to trick you into entering your username or password for another website. The URL could take you to a legitimate website and trick that website into doing something harmful, such as giving an attacker access to your account. While such an attack requires a flaw in the website you are visiting, such vulnerabilities are common on the internet. The URL can take you to a malicious website that tricks another website you are logged into on the same device to take an unauthorized action.

A malicious URL could open an application on your device and cause it to take some action. Maybe you’ve seen this behavior when you clicked a Zoom link, and the Zoom application opened and automatically joined a meeting. While such behavior is ordinarily benign, an attacker could use this to trick some apps into revealing your data.

[Understand key political developments, each week. Subscribe to The Conversation’s politics newsletter.]

It is critical that when you open a link in a QR code, you ensure that the URL is safe and comes from a trusted source. Just because the QR code has a logo you recognize doesn’t mean you should click on the URL it contains.

There is also a slight chance that the app used to scan the QR code could contain a vulnerability that allows malicious QR codes to take over your device. This attack would succeed by just scanning the QR code, even if you don’t click the link stored in it. To avoid this threat, you should use trusted apps provided by the device manufacturer to scan QR codes and avoid downloading custom QR code apps.

Scott Ruoti, Assistant Professor of Computer Science, University of Tennessee

This article is republished from The Conversation under a Creative Commons license. Read the original article.

More from Lynxotic:


Check out Lynxotic on YouTube

Find books on Music, Movies & Entertainment and many other topics at our sister site: Cherrybooks on Bookshop.org

Lynxotic may receive a small commission based on any purchases made by following links from this page

Elon Musk & Jack Dorsey finally agree to debate for the BitCurious

Above: Jack Dorsey & Elon Musk – Photo – various / tesla / Twitter / collage Lyxotic

Possibly staged “Twitter feud over BitCoin” leads to portentous upcoming event: “THE talk”

Although both Jack Dorsey, head of both Twitter and Square, and Elon Musk are long standing and staunch BitCoin advocates, a lot of chatter around the internet has painted Musk as having gone soft on the crypto currency.

Th narrative that has been put forth pits his loyalty to Bitcoin as somehow incongruous with his support for DogeCoin, the somewhat less serious AltCoin variant he has openly championed.

Intermingled with this straw-man charade, is the also over-hyped idea that the energy used by BitCoin mining is a factor in global warming and therefore a stain on Musk’s otherwise high profile positive sustainable energy resumé.

While many article have shown this argument to be blown out of proportion at best, apparently the whole world (China, if you’re listening) has seized on this talking point as a way to damage BitCoin’s popularity and pedigree.

The attempt to use this argument to undermine BitCoin’s adoption progress and futuristic pedigree appears to have already backfired, however. For example, at the recent BitCoin conference in Miami, Jack Dorsey announced plans to invest in a sustainable energy powered BitCoin mining facility.

Elon Musk has also stated via his twitter account that Tesla would resume accepting BitCoin payments, as soon as more miners switch to renewable energy. This coming after he had announced, to great fanfare, that Tesla would accept the cryptocurrency and then, in May, reversed the decision after backlash from those who pounced on the issue to try to tarnish Tesla’s sterling reputation as a proponent of the transition to sustainable energy.

The hype is warranted and the buzz can begin

Though not yet confirmed 100%, the Twitter exchange between the two titans implied that the “talk” would take place in conjunction with the “The B Word” BitCoin conference, which kicks off on July 21, 2021. Sponsored by Ark Invest, Square and Paradigm, the big name speakers and hype already building, along with the timing, coming on the heels of a huge peak then “crash” in the crypto markets, looks to be a watershed event for Bitcoin and cryptocurrencies in general.

Details on whether the exchange between the two will be live on stage or via video conference have, as of yet, not been revealed.

Twitter and Square CEO Dorsey tweeted Thursday about an upcoming “The B Word” bitcoin event, and Musk responded to it. It’s unclear if the event, which kicks off on July 21, will be virtual or in-person.

The potential for drama as the two discuss a topic on which they, for the most part agree, is a smart way to hype the event, both the conference itself and the monumental meeting for “THE Talk”.

Regardless of any fireworks or revelations coming out of the event and the meeting between these two incredibly influential business leaders, the upshot is that all of the above is a net positive for BitCoins progress toward more widespread adoption and acceptance.

Critical mass may already been achieved for crypto in the US

The overly manic focus on price fluctuations notwithstanding, there is a rapidly growing sense that the #1 cryptocurrency as well as all related coins and activities are reaching the point, in the US, that it will be impossible to return the genie to the bottle.

Any attempt to block or outlaw, in totality, the emerging world of crypto-finance, is likely to fail. Realizing this there appears to be a faint whisper of capitulation on the part of both the government in the US and among the “old guard” establishment, namely Wall Street.

Dorsey’s take, as quoted from his appearance at the BitCoin conference in Miami:

  • “Governments are trying to block cryptocurrency use to avoid losing hold of power”
  • “It can’t, and it never will.” — musing on the likelihood of Wall Street controlling bitcoin.
  • “That’s why we don’t deal with any other currencies or coins — because we’re so focused on making bitcoin the native currency for the internet.” — when asked about payments provider Square’s ambitions for bitcoin.

More from around the internet:

Related Articles:


Find books on Music, Movies & Entertainment and many other topics at our sister site: Cherrybooks on Bookshop.org

Enjoy Lynxotic at Apple News on your iPhone, iPad or Mac.

Lynxotic may receive a small commission based on any purchases made by following links from this page