This is a sample code on how java uses Hash Functions To Hash passwords that is from plain text to cipher text.