Revamped Joomla hasher so that it actually functions properly and doesn't cause 500s