support hash password method