A device, a user equipment, and methods for registering and authenticating the user equipment are provided, wherein the user equipment includes an image sensor, communication components for communicating with the device, control and processing components configured for acquiring at least one image by way of the image sensor, generating an authentication sensor fingerprint on the basis of the at least one acquired image, coding at least one portion of the authentication sensor fingerprint by way of a random projection algorithm, so as to generate at least one compressed portion (W′) of the authentication sensor fingerprint, transmitting, through the communication components, the at least one compressed portion (W′) to the device.