troubleshooting Question

Maximum MD5 Value for 20-Character Password

Avatar of sterrius
sterrius asked on
2 Comments1 Solution521 ViewsLast Modified:
I'm writing an application that stores encrypted passwords using the MD5 functionality provided in .NET.

I've restricted the plain-text password field in the application to 20 characters and I now need to know if the MD5 hash value itself will ever exceed 20 characters (for storage purposes).

If the user can type 20-characters into a plain-text field, what is the maximum length of the MD5 character string that could be generated?

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros