I'm interested in the particle device number, the e#. Is this generated with a hash of some kind?
Out of interest, if we were to use say the last 6 digits of the e# for our internal serial numbering, what might the implications be there. I assume the e#'s aren't sequential?
Do you mean the 24-character hex Device ID? nRF52 devices begin with e but most other devices do not.
Any subset of the Device iD is not guaranteed to be unique across all devices so you can't just take the last digits.
On STM32 devices, the Device ID is the unique number that is masked into the MCU in the factory. It's not sequential, but not a random GUID or hash either.
For nRF52, the 96-bit value contains a constant portion so it does not conflict with STM32 ID space, and then a formula to fold the Nordic unique ID into the number space uniquely.
Something similar happens on RTL872x devices, I think.
The page on unique identifiers has information on the Particle serial number.