circuitpython/ports/stm/boards/swan_r5/tests/urandom.py

10 lines
132 B
Python

import os
def main():
print("Random number test")
r = os.urandom(32)
print(f"urandom TRNG string is {r}")
main()