script to generate the NT hash for a password string (for NTLMv2 auth, etc). OpenSSL config was tested on Fedora 42.
$ nthash --help
Generate NT Hash from password string.
Usage: nthash '<password>'
To use the generated hash in Go as []byte:
hashBytes, _ := hex.DecodeString("<hash>")
$ nthash Password123
58A478135A93AC3BF058A5EA0E8FDB71