Hashing password

anyone know how to store pasword in hash form in database and login process