OS Manuals

/usr/bin/kcapi-rng

libkcapi (commandline utilities)

From libkcapi-tools 1.5.1-r2 (os), captured 2026-11-05 by running kcapi-rng --help (exit 1). permalink

Kernel Crypto API Random Number Gatherer

Kernel Crypto API interface library version: libkcapi 1.5.1
Reported numeric version number 1050100

Usage:
	-b --bytes <BYTES>	Number of bytes to generate (required option)
	-n --name <RNGNAME>	DRNG name as advertised in /proc/crypto
				(stdrng is default)
	   --hex		The random number is returned in hexadecimal
				notation
	-h --help		This help information
	   --version		Print version
	-v --verbose		Verbose logging, multiple options increase
				verbosity

Data provided at stdin is used to seed the DRNG
Options (7)
OptionDescriptionSource
-b, --bytes --bytesNumber of bytes to generate (required option)help + man
-n, --name --nameThe NAME argument specifies the random number generator implementation to be used.help + man
--hexThe generated random numbers are print out in hexadecimal notation instead of as binary string.help + man
-h, --help --helpDisplay the help text.help + man
--versionDisplay the version number of the kcapi-rng application.help + man
-v, --verbose --verboseVerbose logging, multiple options increase verbosityhelp + man
-q, --quietPrevent the generation of any log output. (in the manual page but not in --help)man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.