如何为输入密码长度超过27个字符生成NTLM密码哈希 [英] How to generate NTLM password hash for input password length more than 27 character

查看:92
本文介绍了如何为输入密码长度超过27个字符生成NTLM密码哈希的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Team,



我遇到密码长度超过27个字符的问题。需要了解示例程序如何生成NTLM密码哈希,输入密码长度超过27个字符。



谢谢



我尝试过:



我尝试将输入字符串转换为utf16-le并应用MD4算法,但它没有生成准确的一次使用在线转换器的结果。

Hi Team,

I have a issue where password length is more than 27 character. Need to know with sample program how to generate NTLM password hash for input password length more than 27 character.

Thanks

What I have tried:

I tried converting input string to utf16-le and apply MD4 algorith but its not generating the accurate one once comare the result with online converter.

推荐答案

尝试转换为UTF-8或ASCII(它们是单字节字符集,而不是双字节UTF- 16):如果没有给出相同的结果,那么问题可能是你的代码;所有正确实现的MDn哈希生成器在输入相同的字节序列时都会给出相同的结果。



我们看不到你的代码,或者说你在比较什么,所以我们无法解决这个问题!
Try converting to UTF-8 or ASCII (they are single byte characters sets, rather than the double byte UTF-16): if that doesn't give the same results, then it's probably your code that's the problem; all correctly implemented MDn hash generators will give the same results when fed the same byte sequence.

And we can't see your code, or tell what you were comparing with, so we can't fix that for you!


这篇关于如何为输入密码长度超过27个字符生成NTLM密码哈希的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆