Hi Rajni,
The MCU security mechanism is not intended to encrypt non-volatile memory.
For more information about the security of MCU see chapter 1.10 Security in the reference manual.
I chose some points:
"The MCU security mechanism prevents unauthorized access to the flash memory.
The security features of the S12Z chip family are:
• Prevent external access of the non-volatile memories (Flash, EEPROM) content
• Restrict execution of NVM commands
Unsecuring the microcontroller can be done using Backdoor key access."
I hope the information helps.
Best regards,
Diana