Making password secure using hash