This class can be used to encode password fields before submitting forms. It generates Javascript code that computes MD5 hashes of a password field value with a random salt value when the form submitted. The class can verify if the encoded password matches the correct password encoded using the same salt value.