Click here to Skip to main content
15,887,328 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Hello everyobody,
I'm trying to do a presentation of MD5 algorithm in my class.
I would like to give an example of md5 hash in every programming language.
I found a useful website like md5-sha with examples in all other languages, but i still want to present Java too du to its wide use.
Thank you for helping.
Posted

Consider that both MD5 and SHA1 are both considered "broken" and should not be used for any security purpose what-so-ever. Using them to "secure" a password is considered bad practice and a security risk.

Read up more on it, here[^].
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 2-Feb-16 15:42pm    
Correct, a 5, but it lacks positive suggestions; I added some in Solution 3.
—SA
 
Share this answer
 
Class MessageDigest, I believe.

MessageDigest (Java Platform SE 6)[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900