Skip to content
Snippets Groups Projects

feat(pycardium): add trng module

Closed fpletz requested to merge fpletz/firmware:feat/py-trng into master
1 unresolved thread
5 files
+ 48
0
Compare changes
  • Side-by-side
  • Inline
Files
5
+ 11
0
.. py:module:: trng
``trng`` - True Random Number Generator
=======================================
.. py:function:: trng.getrandombytes(n)
Returns a bytearray of random bytes from the TRNG.
:param int n: Amount of bytes to return.
Loading