Difference between revisions of "Openssl rand"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
  
 
  [[openssl rand -hex 32]]
 
  [[openssl rand -hex 32]]
 +
export [[JWT]]=`openssl rand -hex 32`
  
 
  Note that you are limited to a particular set of 64 characters (A–Z, a–z, 0–9, + and /) due to base64 encoding on the output.
 
  Note that you are limited to a particular set of 64 characters (A–Z, a–z, 0–9, + and /) due to base64 encoding on the output.

Revision as of 06:25, 24 August 2022

openssl rand -base64 24
openssl rand -base64 16 | colrm 17
openssl rand -hex
openssl rand -hex 32
export JWT=`openssl rand -hex 32`
Note that you are limited to a particular set of 64 characters (A–Z, a–z, 0–9, + and /) due to base64 encoding on the output.

Related

See also

Advertising: