MD5算法是否总是为相同的字符串生成相同的输出? [英] Does the MD5 algorithm always generate the same output for the same string?

查看:180
本文介绍了MD5算法是否总是为相同的字符串生成相同的输出?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

MD5算法是否总是为相同的字符串生成相同的输出?

Does the MD5 algorithm always generate the same output for the same string?

是否使用salt来生成不同的输出?

Is using a salt the only to produce different output?

推荐答案

是的,否则MD5对文件验证等事情是没用的。你对非确定性输出有什么理由?

Yes, otherwise MD5 would be useless for things like file verification. What reason would you have for non deterministic output?

这篇关于MD5算法是否总是为相同的字符串生成相同的输出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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