I need to generate an hash, that is unique for a user on an android device. Since they can have multiple users that seems difficult to me. I was about to use the IMEI of the device (or another device, if there is one), but since android supports multiple users, I have to use something else, without changing my permissions if possible (at the moment I have internet and read/write storage permissions)
Any Ideas?
For hashing itself I would use MD5 or SHA1.
Generate a UUID and store it on the device, as is recommended by Google.