OPENSSL-PASSWD(1SSL)
πΈ NAME πΈ
okay so bestie, welcome to openssl-passwd β it is THE tool for computing password hashes. that's it. that's the whole job. and it eats it every single time. π
β¨ SYNOPSIS β¨
openssl passwd [-help] [-1] [-apr1] [-aixmd5] [-5] [-6] [-salt string]
[-in file] [-stdin] [-noverify] [-quiet] [-table] [-reverse] [-rand
files] [-writerand file] [-provider name] [-provider-path path]
[-provparam [name:]key=value] [-propquery propq] [password]
π DESCRIPTION π
so like. this command computes the hash of a password that you type in at run-time, OR it hashes every single password in a list like the overachiever it is. π«Ά
where does that password list come from, you ask? pick your fighter:
- the file you named with the
-inoption π stdin, if you used-stdinπ»- the command line
- or the terminal otherwise, iykyk π§
π OPTIONS π
-helpβ prints out a usage message. classic. iconic. the little "what do I do now" button.-1β uses the MD5 based BSD password algorithm 1. also it's the default, so if you do nothing, this is what you get. β¨-apr1β uses theapr1algorithm (that's the Apache variant of the BSD algorithm). π-aixmd5β uses the AIX MD5 algorithm (the AIX variant of the BSD algorithm). π-5,-6β use the SHA256 / SHA512 based algorithms defined by Ulrich Drepper. See <https://www.akkadia.org/drepper/SHA-crypt.txt>. π-salt stringβ use the specified salt. ngl, when you're reading a password from the terminal, this one implies-noverify. π§-in fileβ read passwords from file. π-stdinβ read passwords fromstdin. π»-noverifyβ don't verify when reading a password from the terminal. no double-checking, we trust you. π€-quietβ don't output warnings when passwords given at the command line are truncated. shhh. π€«-tableβ in the output list, prepend the cleartext password and a TAB character to each password hash. π-reverseβ when the-tableoption is used, reverse the order of cleartext and hash. π-rand files,-writerand fileβ see "Random State Options" inopenssl(1)for details. π²-provider name,-provider-path path,-provparam [name:]key=value,-propquery propqβ see "Provider Options" inopenssl(1),provider(7), andproperty(7). π
π₯ EXAMPLES π₯
watch her work. no cap. π
% openssl passwd -1 -salt xxxxxxxx password
$1$xxxxxxxx$UYCIxa628.9qXjpQCjM4a.
% openssl passwd -apr1 -salt xxxxxxxx password
$apr1$xxxxxxxx$dxHfLAsjHkDRmG83UXe8K0
% openssl passwd -aixmd5 -salt xxxxxxxx password
xxxxxxxx$8Oaipk/GPKhC64w/YVeFD/
π HISTORY π
the -crypt option was removed in OpenSSL 3.0. gone. not coming back bestie. π
π COPYRIGHT π
Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.
okay that's the whole page, you ate it, no crumbs left πβ¨ this was OPENSSL-PASSWD(1SSL) from the OpenSSL fam, version 4.0.3, dated 2026-09-29. go hash something responsibly, bestie. mwah. ππ¦π
π¦ where this page comes from
- ubuntu stonking: openssl 4.0.3-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms