User Tools

Site Tools


passwords

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
passwords [2025/10/31 11:18] – urandom (Linux) wolfopasswords [2025/11/19 10:52] (current) – OpenSSL sanitization wolfo
Line 17: Line 17:
 | **OpenSSL** | **Generate random password of 32 characters** \\ <code>$ openssl rand 32 | base64 | tr -d '\n' ;echo | **OpenSSL** | **Generate random password of 32 characters** \\ <code>$ openssl rand 32 | base64 | tr -d '\n' ;echo
 MCW1YkPAP0Rwgj4w7bxbZrRbnIIS5y2I686tk8kHWfE=</code> | MCW1YkPAP0Rwgj4w7bxbZrRbnIIS5y2I686tk8kHWfE=</code> |
 +| ::: | **Same, but filter permissible characters** \\ <code>$ openssl rand 32 | base64 | tr -cd '[:alnum:]!@#$%^&*()_+' ;echo</code> |
 | **urandom (GNU)** | **Get output from /dev/urandom, filter only permissible characters, cut to 12 characters** \\ <code>$ cat /dev/urandom | tr -cd '[:alnum:]!@#$%^&*()_+' | head -c 12 ; echo | **urandom (GNU)** | **Get output from /dev/urandom, filter only permissible characters, cut to 12 characters** \\ <code>$ cat /dev/urandom | tr -cd '[:alnum:]!@#$%^&*()_+' | head -c 12 ; echo
 N!gPwfW!9Zm#</code> | N!gPwfW!9Zm#</code> |
 | **Random Number Generation** | **Generate random number between 0 and ?** \\ <code>$ echo $((RANDOM % 100)) | **Random Number Generation** | **Generate random number between 0 and ?** \\ <code>$ echo $((RANDOM % 100))
 40</code>| 40</code>|
passwords.txt · Last modified: by wolfo

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki