mkpasswd
$ mkpasswd -m help
Available methods:
yescrypt Yescrypt
gost-yescrypt GOST Yescrypt
scrypt scrypt
bcrypt bcrypt
bcrypt-a bcrypt (obsolete $2a$ version)
sha512crypt SHA-512
sha256crypt SHA-256
sunmd5 SunMD5
md5crypt MD5
bsdicrypt BSDI extended DES-based crypt(3)
descrypt standard 56 bit DES-based crypt(3)
nt NT-Hash
MD5
mkpasswd -m MD5 -S world123 -s <<< Hello
$1$world123$f7H9DDeT17jEmcyoSpaMw1
SHA-256
mkpasswd -m SHA-256 -S world123 -s <<< Hello
$5$world123$LW8SZlB.CRPOFuimrsXO0nz1n9Sf0ufXTllJvjzCIrB
SHA-512
mkpasswd -m SHA-512 -S world123 -s <<< Hello
$6$world123$PAhLtqZctBGTcRAidHBaMLh3QTpFaf1Vw3DMHGsClayoTy5woXHuak7UqcJTgDd0KTxWbmF6fCokysqjJMuOC1