NTLM hash function in Terminal? I'm aware there are a number of hash functions available in terminal such as echo "text" | openssl &lt;hashname&gt; or perl -MDigest::SHA -nle 'print Digest::SHA::sha224_hex($_), ":", $_'. However, I have been unable to find any way of hashing into NTLM.

Is anyone aware of a method (preferably an efficient method) for hashing into NTLM through terminal?
You can hash using the NTLM method like this:

perl -MAuthen::Passphrase::NTHash -nle 'print Authen::Passphrase::NTHash-&gt;new(passphrase =&gt; $_)-&gt;hash_hex, ":", $_' &lt; infile &gt;&gt; outfile


However, according to your comments your question is a XY problem. You're actually really trying to build a web site that allows everyone to hash any string efficiently using any hashing algorithm. For that that purpose, the above mentioned command line is not suitable.