A UK team has developed 3D barcodes that could help tackle counterfeiting of drugs, watches and other devices.
The codes consist of a series of small indentations with precise, slightly different depths, allowing for billions of different combinations.
They are deciphered by a device that "reads" the dents using beams of light.
Because they are made using adjustable pins during the moulding process, a different code could be embedded in - for example - individual pills.
The system was developed by Sofmat Ltd, external, a small Yorkshire company, in collaboration with engineers at the University of Bradford. The team has now been awarded £250,000 by the government technology body Innovate UK - the final of three stages of funding, intended to see the product through to market readiness.
"In a batch process, you might have a QR code and every single tablet would have the same code on it," said Sofmat director Dr Phil Harrison, "because when you're trying to change something that big, it's very difficult."
By contrast, his team has concentrated on developing a "sequential marking" system.
The global market in counterfeit goods, from medicines to motorbikes, is estimated to be worth $1.8bn (£1.2bn) every year. And that value is forecast to rise steeply in the next few years.
Speaking to journalists at the British Science Festival, external in Bradford, Dr Harrison said Sofmat worked with pharmaceutical companies in Switzerland to decide on the best way to develop the system commercially.
Because many pills are produced by injection moulding, the 3D barcodes could be incorporated into that process relatively easily.
Then, hospitals or pharmacies could purchase a scanner to verify medications. This will be a "little black box, with a slot the size of a tablet", Dr Harrison said. His team hopes to have a prototype scanner finished by late 2016.
"The idea is... you put a tablet into it, the tablet's scanned, then it comes out with a number. If that number corresponds to the number it should have, on the box, it tells you whether or not the tablet is real."
The team is also looking at applying the codes to metal surfaces, which would be attractive for other well-known Swiss products.
"We are talking to watch manufacturers at the moment, about protecting those," Dr Harrison said.