Difference between revisions of "Openssl rand"
Jump to navigation
Jump to search
(8 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
2oDX9uTmMXyNU/Z8abvO6wHVbjlQfRTa | 2oDX9uTmMXyNU/Z8abvO6wHVbjlQfRTa | ||
− | openssl rand -base64 16 | [[colrm]] 17 | + | openssl rand -[[base64]] 16 | [[colrm]] 17 |
− | [[openssl rand -hex | + | [[openssl]] rand -[[hex]] 32 |
export [[JWT]]=`openssl rand -hex 32` | export [[JWT]]=`openssl rand -hex 32` | ||
+ | |||
+ | |||
+ | [[openssl rand 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. | ||
Line 13: | Line 16: | ||
* <code>[[colrm]]</code> | * <code>[[colrm]]</code> | ||
* [[Generate password]] | * [[Generate password]] | ||
+ | * [[mkpasswd]] | ||
+ | * [[random]] | ||
+ | * [[openssl base64]] | ||
== See also == | == See also == | ||
− | * {{openssl}} | + | * {{openssl base64}} |
+ | * {{openssl rand}} | ||
* {{mkpasswd}} | * {{mkpasswd}} | ||
[[Category:OpenSSL]] | [[Category:OpenSSL]] |
Latest revision as of 13:48, 8 May 2024
openssl rand -base64 24 2oDX9uTmMXyNU/Z8abvO6wHVbjlQfRTa
openssl rand -base64 16 | colrm 17
openssl rand -hex 32 export JWT=`openssl rand -hex 32`
openssl rand 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[edit]
See also[edit]
Advertising: