OPENSSL-PASSWD(1ossl)
π OPENSSL-PASSWD π
okay so bestie, welcome to openssl-passwd from the 1ossl manual section β yes the whole page is literally just about computing password hashes, and honestly? it ate. let's go πΈ
β¨ NAME β¨
openssl-passwd β compute password hashes π
β¨ 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 you type in at run-time, OR the hash of every single password in a list. iconic behavior fr fr π«Ά
Where does that list come from, you ask? pick your fighter:
- the named file, if you use the
-inoption π stdin, if you use the-stdinoption- the command line
- or the terminal, otherwise (default vibe β¨)
β¨ OPTIONS β¨
-helpβ prints out a usage message. that's it. that's the whole thing π-1β use the MD5 based BSD password algorithm 1. this one is the default, no cap π-apr1β use theapr1algorithm (the Apache variant of the BSD algorithm) π¦-aixmd5β use the AIX MD5 algorithm (the AIX variant of the BSD algorithm) π-5,-6β use the SHA256 / SHA512 based algorithms defined by Ulrich Drepper. lowkey legendary. see <https://www.akkadia.org/drepper/SHA-crypt.txt> for the details π-salt stringβ use the specified salt. heads up: when you're reading a password from the terminal, this implies-noverifyπ§-in fileβ read passwords from file π-stdinβ read passwords fromstdinβ¨οΈ-noverifyβ don't verify when reading a password from the terminal. skipping the vibe check, we love a bold choice π-quietβ don't output warnings when passwords given at the command line are truncated π€«-tableβ in the output list, prepend the cleartext password and aTABcharacter 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 β¨
main character demo time, look at these slay π₯
% 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 β¨
ngl, the -crypt option was removed in OpenSSL 3.0. she's gone, periodt π
β¨ 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 bestie, ily, go hash something π§π
this cutie was brought to you by version 3.5.6, dated 2026-04-07, from the OPENSSL-PASSWD(1ossl) manual β see you in the group chat π¦β¨
π¦ where this page comes from
- freebsd 15.1: base 15.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms