Skip to main content
  1. Home
  2. Emerging Tech
  3. Computing
  4. News

Groundbreaking random number algorithm may be boon for online security

Add as a preferred source on Google

Generating a string of random numbers is easy. The hard part is proving that they’re random. As Dilbert creator Scott Adams once pointed out, “that’s the problem with randomness: you can never be sure.”

While this might sound like the kind of brain-teasers algorithm geeks play around with over a beer on a Friday night, however, it’s not purely an academic problem. When it comes to security, our faith in encryption services relies on people knowing for certain that the long strings of seemingly random numbers generated can’t be decoded by potential adversaries.

Recommended Videos

But don’t worry: there’s hope — and it comes in the form of quantum mechanics.

“The idea boils down to dividing the hardware in two parts, placing them in different locations and looking for correlations that can be only explained by quantum mechanics — which is intrinsically random theory,” Marcin Pawłowski, a researcher at Poland’s University of Gdańsk, tells Digital Trends. “The problem is that you have to have really state-of-the-art hardware and even then you only get a tiny amount of random numbers per hour which makes the whole thing unpractical.”

This is where the work of Pawłowski and his colleagues — summarized in a new paper in the New Journal of Physics — comes in. What they have created is an algorithm which ensures that seemingly random numbers really are as random as they look. “We believe, and our paper proves, that in quantum experiments much more randomness is generated than was certified using previously known methods,” Pawłowski continues.

Unlike the “pseudorandom” numbers thrown out by computer algorithms, this method utilizes the randomness of physical systems — in this instance a laser and some crystals, mirrors and other optical elements, as well as a photon detector. The result is considerably more efficient than other methods: not only faster, but also more cost effective since it doesn’t require too much expensive hardware to pull off.

“It is possible to build a practical device based on the experiment that we report on in the paper,” Pawłowski concludes. “Then you can use our new method for randomness certification and one can make true random numbers — and hence secure communication — available. I say this honestly: I really believe we can improve the security of communication for everyone.”

Where do we sign up?

Luke Dormehl
I'm a UK-based tech writer covering Cool Tech at Digital Trends. I've also written for Fast Company, Wired, the Guardian…
Yet another study says AI is bad for elections, and the rabbit hole gets worse
AI may be an election bomb waiting for someone to light the fuse
Voters cast their ballots on Election Day

Another election, another study has concluded that asking an AI chatbot for political guidance is a spectacularly bad idea. Research conducted during Hungary’s 2026 parliamentary election found that ChatGPT and Google Gemini offered not just inaccurate but also inconsistent and unreliable voting advice. The chatbots misclassified voter profiles, overlooked relevant parties, recommended parties absent from the ballot, and sometimes produced materially different answers when given the same information repeatedly.

AI keeps failing the voter test

Read more
Samsung’s humanoid robot ambitions are real, but factories come first
Samsung’s new robotics division has humanoids in its sights, although its immediate business is far more practical factory automation
Robot Touch Human Finger

Samsung wants a place in the humanoid race, but its new robotics push begins with machines built for factories rather than homes.

The CEO-led RX robotics division will initially focus on manufacturing robots. Samsung has separately identified humanoids as a priority, although it hasn’t announced a commercial model or explained where one fits into the division’s immediate plans.

Read more
The future of AI may depend on this one behind-the-scenes change
Running Claude on Android.

Whenever a new AI model arrives, it's easy to get caught up in the bells and whistles. We talk about how much smarter it is, how quickly it answers questions, or how realistic its images have become. But here's the thing: none of that matters much if the AI can't reliably work with the apps and services people use every day.

That's why an upcoming update to the Model Context Protocol (MCP) caught my attention. It isn't a new chatbot or a fancy AI model. In fact, most people will never even know it's happening. But it could quietly make the AI ecosystem a lot healthier. If you've never heard of MCP before, don't worry. Think of it as a shared language that lets AI assistants safely talk to apps like Gmail, Slack, calendars, databases, and countless other services. Instead of every company inventing its own way to make those connections, MCP gives everyone a common rulebook.

Read more