PHP implementation of OpenWall's passwdqc_check