Open Web Application Security Project: "Cryptographic Hashing Function"

Create a Java language program that runs cryptographic hashing function. One possible solution can be found in this article. Study the solution code only after you have solved the problem or spent a substantial amount of time working on it.