If you wanted to encrypt just the password, and compare it, it is pretty simple to do once you get down to the bone basics.

Consider the following code:

/**
* @param toEncode The String to...