Reading random numbers
![]()
The TRNG device is read-only. Use the read function, cat program, or dd program to obtain random numbers.
Example
In this examplebs specifies the block size in bytes
for transfer, and count specifies the number of records with block size. The bytes
are written to the output file.
dd if=/dev/trng of=<output file name> bs=<xxxx> count=<nnnn>