The unique ID is actually stored in two registers each of 32 Bit.
Their address : 0xE0055010 and 0xE0055014.
You can read these bits from the address location 0xE0055010.
Please go through below link:
Thanks Anil Srinivas
what about firmware encryption?
My firmware is stored in the spi flash.