This code example demonstrates how to generate a 4-byte one-time password (OTP) with the true random number generation feature using the Cryptographic hardware block in PMG1 MCU. The generated OTP is displayed on a UART terminal emulator in hexadecimal format. -
View it on GitHub