Encrypting passwords before they are entered into the DB