hash is broken

for some reason when it hashes the password that has just been inputted it's longer than the password stored in the DB