An authenticable and machine readable coating for pills, tablets and other ingestible materials is provided. The disclosure also relates to methods of authenticating the same. The coatings are formed from a lattice of particles stacked to cause selective diffraction such that each pill or tablet has an optical signature. The signature associated with each coating can be read and authenticated. In one embodiment, the particles are substantially spherical and self-organized. In one embodiment, generally recognized as safe (GRAS) materials are used to form the particles.Se provee un revestimiento auntentificable y legible mediante una máquina para píldoras, tabletas y otros ingredientes ingeribles. La descripción también se refiere a métodos para autentificarlos. Los revestimientos se forman a partir de una red de partículas apiladas para causa una difracción selectiva de tal forma que cada píldora o tableta tiene una firma óptica. La firma asociada con cada revestimiento puede ser leída y autentificada. En una modalidad, las partículas son sustancialmente esféricas y están auto-organizadas. En una modalidad se utilizan materiales generalmente reconocidos como seguros (GRAS) para formar las partículas.