DJB-style checkpassword for phpBB MySQL userdb
