Checks an unencrypted (plain) password against an encrypted one (a digest) to see if they match.
@param plainPassword the plain password to check.
@param encryptedPassword the digest against which to check the password.
@return true if passwords match, false if not.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.