This class can store and check encrypted user passwords in MySQL.