140
round: Specifies the number of random number generations, in the range of 3 to 10.
Usage guidelines
Use this command in FIPS mode to calculate the average rate at which random numbers are
generated.
Examples
# Generate five 100000-byte random numbers and calculate the average rate at which the random
numbers are generated.
<Sysname> system-view
[Sysname-probe] fips rng random size 100000 round 5 rate-statistics
Random number generated successfully.
Rate: 5000 bytes/s
Rate: 5100 bytes/s
Rate: 4900 bytes/s
Rate: 4800 bytes/s
Rate: 52000 bytes/s
Average rate: 5000 bytes/s
New command: fips rng entropy size filename
Use fips rng entropy size filename to generate a random number entropy and save it to a file.
Syntax
fips rng entropy size entropy-size filename filename
Views
Probe view
Predefined user roles
network-admin
Parameters
entropy-size: Specifies the random number entropy size in the range of 1 to 1000000 bytes.
filename: Specifies the name of the file to save the random number entropy. The file name is a
case-insensitive string.
Usage guidelines
Use this command in FIPS mode to generate a random number entropy and save it to a file.
Examples
# Generate a 100000-byte random number entropy and save it to a file named out.bin.
<Sysname> system-view
[Sysname-probe] fips rng entropy size 100000 filename out.bin
Generating random number entropy. Please wait...
Entropy saved to file successfully.