DOKK / manpages / debian 11 / freeradius-common / smbencrypt.1.en
SMBENCRYPT(1) General Commands Manual SMBENCRYPT(1)

smbencrypt - produce LM & NT password hashes from cleartext passwords

smbencrypt password [password ...]

smbencrypt For each cleartext password passed on the command line emit the LM-Password and NT-Password hashes for that password.

$ smbencrypt foo bar
LM Hash                         	NT Hash
--------------------------------	--------------------------------
5BFAFBEBFB6A0942AAD3B435B51404EE	AC8E657F83DF82BEEA5D43BDAF7800CC
A6428F2551EDEE1BAAD3B435B51404EE	86C156FC198B358CCCF6278D8BD49B6A

radiusd(8)