使用MD5算法计算哈希值,但不包括时间戳 [英] Compute hash values using MD5 algorith but exclude timestap

查看:231
本文介绍了使用MD5算法计算哈希值,但不包括时间戳的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


在我的应用程序中,我正在计算文件的哈希值.截至目前,vb.net中的MD5还通过包含文件的时间戳来计算哈希值.我如何仅从其内容计算文件的哈希值.

感谢您的反馈.

Hi,
in my application, i am computing hash values of files. as of now MD5 in vb.net computes hash values by including timestamp of files as well. how can i compute hash value of files from its contents only.

appreciate your feedback.

推荐答案

尝试

目前vb.net中的MD5会计算哈希通过包含文件的时间戳记值.

嗯,不,不是.仅当您将时间戳数据包含在要提供哈希算法的数据中时,它才会这样做.
as of now MD5 in vb.net computes hash values by including timestamp of files as well.

Uhhh, no it doesn''t. It will only do that if you include that timestamp data in the data you''re feeding the hash algorithm.


这篇关于使用MD5算法计算哈希值,但不包括时间戳的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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