Say I have a hundred(possibility thousands) of connected raspberry pi and these pi will emit a message though tcpip to a mongo data base when they get online. This message will be a unique id that will register the device inside of mongodb.
Question: is there a unique number that is secure that I can just emit to a database as a unique id or will there have to be some kind of back and forth?