Tag | Description |
---|---|
-crypt | Use the crypt algorithm (default). |
-1 | Use the MD5 based BSD password algorithm 1. |
-apr1 | Use the apr1 algorithm (Apache variant of the BSD algorithm). |
-salt string | Use the specified salt. When reading a password from the terminal, this implies -noverify. |
-in file | Read passwords from file. |
-stdin | Read passwords from stdin. |
-noverify | Dont verify when reading a password from the terminal. |
-quiet | Dont output warnings when passwords given at the command line are truncated. |
-table | In the output list, prepend the cleartext password and a TAB character to each password hash. |
openssl passwd -1 -salt xxxxxxxx password prints $1$xxxxxxxx$UYCIxa628.9qXjpQCjM4a..
openssl passwd -apr1 -salt xxxxxxxx password prints $apr1$xxxxxxxx$dxHfLAsjHkDRmG83UXe8K0.
Advertisements |