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

vfclists picture vfclists · Dec 4, 2010 · Viewed 20.7k times · Source

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

Is using a salt the only to produce different output?

Answer

Jim picture Jim · Dec 4, 2010

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