title: MD5 or SHA-1 in pseudocode or java without libraries
body: <p>I am looking for precise algorithm of MD5 or SHA-1. Everything what i found in google, wiki etc. is very confusing, not clear and not precise to me. Does anybody have implementation of that algorithm. I was looking for this in google for several hours yesterday and could find nothing. I know how to generate it using libraries(and I've done it many times).</p>