A microelectronic device comprising a plurality of resistive memory points, a first portion of said resistive memory points being configured to form a physical unclonable function, the resistive memory points of said first portion forming a PUF zone of the device, a second portion of said resistive memory points being configured to provide a memory function to the microelectronic device, the resistive memory points of the second portion forming a memory zone of the device, each resistive memory point comprising a first electrode layer and a second electrode layer, the first and second electrode layer being separated by an active oxide resistive memory layer, wherein the active oxide layer of the resistive memory points of the PUF zone has a dispersion of roughness and a variation in thickness that are higher than a dispersion of roughness and the variation in thickness of the resistive oxide layer of the memory points of the memory zone.