psktool — Simple PSK password tool
Very simple program that generates random keys for use with TLS-PSK. The keys are stored in hexadecimal format in a file.
−−keysize BYTES
specify the number of bytes of the key
−p,
−−passwd FILE
Specify a password file.
−u,
−−username username
Specify username.
−h,
−−help
Prints a short reminder of the command line options.