I'm developing an app for a college project to detect fake products. The idea is to scan a QR or barcode and the app will automatically tell you if the product is either original or fake.
How to avoid the duplication of a QR or barcode, so each one is unique and cannot be modified? I was thinking of implementing blockchain technology with smart contracts but I want to hear other possible solutions.