Dictionary attack is a technique used to breach a password-protected system.
This method attempts to guess the correct password by systematically entering each word in a dictionary. This works because many users use normal words in dictionary as their passwords.
There are several ways to prevent this:
- Account Locking: Lock the account after several unsuccessful attempts
- Or in the encryption algorithm, the attack can be deterred by adding extra random bits to the end of the value before encryption, such extra bits is referred to as initialization vector, or salt