tpm2_getrandom(8)

NAME
tpm2_getrandom - returns the next SIZE octets from the random number generator.

SYNOPSIS
tpm2_getrandom[ COMMON OPTIONS ] [ TCTI OPTIONS ] [ --output| ] SIZE

returns the next SIZE octets from the random number generator.

DESCRIPTION
tpm2_getrandom returns the next SIZE octets from the random number generator.

OPTIONS

-o ,--output
    specifies the filename of output. @COMMON_OPTIONS_INCLUDE@ @TCTI_OPTIONS_INCLUDE@

ENVIRONMENT@TCTI_ENVIRONMENT_INCLUDE@

EXAMPLES
tpm2_getrandom

    tpm2_getrandom -o random.out 20
    tpm2_getrandom 8