You are here

CE221295 - PSoC 6 MCU Cryptography: True Random Number Generation | Cypress Semiconductor

CE221295 - PSoC 6 MCU Cryptography: True Random Number Generation

Last Updated: 
Nov 05, 2019
Version: 
*A

This code example demonstrates generating a One-Time Password (OTP) using the True Random Number generation feature of PSoC® 6 MCU cryptography block.

For ModusToolbox™ v2.x, visit the Cypress GitHub site to see a comprehensive list of available code examples. Use the ModusToolbox IDE's New Application command and select your kit. This code example will appear in the New Application wizard if the example supports your kit. See KBA225201 for detailed steps, and for information on how to import an example into another IDE. Visit the ModusToolbox SW page for documentation and collateral regarding ModusToolbox software.

The ModusToolbox example on this page is for ModusToolbox v1.1. It does not work with newer versions of ModusToolbox. To run code examples in ModusToolbox v1.1, download and unzip the ModusToolbox code example from this page. Run ModusToolbox v1.1 IDE's New Application command, then browse to and select the modus.mk file.

To run code examples in PSoC Creator, download and unzip the code example package specific for PSOC Creator, run PSoC Creator, go to File > Open > Project/Workspace, then browse to and select the .cywrk file. For documentation and collateral regarding PSoC Creator, please visit the PSoC Creator SW page to learn more.