Ideally, passwords should be both encrypted and hashed. Each of these security functions works differently to protect your password, and using them together makes your password more secure than using either alone.