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 BYTESspecify the number of bytes of the key
−p,
          −−passwd FILESpecify a password file.
−u,
          −−username usernameSpecify username.
−h,
          −−helpPrints a short reminder of the command line options.