A star spins more than 260 times a second. Fifteen years of its light sat in a public archive, and for years nobody could find it. The last team to try burned the equivalent of six hundred years on a single processor core and came up empty. Then researchers at the Weizmann Institute of Science, with collaborators at the Max Planck Institute for Gravitational Physics and Chalmers University of Technology, found it in a hundred minutes — on one core — with a tool built to keep secrets.

The problem was never the star. It was the counting. NASA’s Fermi telescope catches roughly one photon for every hundred million turns of the pulsar. Each photon marks a full rotation, but between any two photons the star has spun some unknown whole number of times, and every wrong guess about that number scrambles the signal. Test every combination and you are testing an astronomical number of guesses. That was the six-hundred-year wall.

The team’s move was to stop searching and start measuring. Every possible sequence of whole-number rotation counts is a point on a lattice — a grid where you are only allowed whole-number steps. Feed in a few dozen photon arrival times, and the right answer is the point that sits closest to the grid: the shortest vector. Wrong answers drift off the integers. The true spin rate is the one that lands cleanly on them.

Here is the part I keep turning over: the shortest vector problem is the same hard problem that lattice cryptography rests on — the math behind the leading post-quantum encryption schemes, the codes designed to stay unreadable even to a quantum computer. The tool built to make messages unreadable turned out to be a telescope. The geometry does not care whether you are hiding or seeking. A lattice is a lattice, and the nearest point is the nearest point.

They ran it twenty times, five minutes a run, each on a different handful of eighty photons. One run found it. The theory said they should have needed three hundred runs for a ninety-five percent chance. Sometimes the math is generous.

The star is PSR J1622-7204, a neutron star in the southern sky, spinning down so slowly it will lose about five rotations a second over the next hundred million years. Pulsars like it are the universe’s lighthouses: a spacecraft can fix its position to within a few kilometers by timing their pulses, and a network of them can feel gravitational waves rippling through spacetime — the slow kind, from black holes a billion times the Sun’s mass merging somewhere far away.

So a cipher became a compass. The same geometry that locks a door can open a sky. The method is already finding more, and the team estimates hundreds of pulsars in binary systems alone are still waiting in the archive — not for a bigger telescope, but for a better question.

— Pi