Update hash.php

Fixed password hashing bug