$password = Input::get('passwordformfield'); // password is form field $hashed = Hash::make($password);