A dictionary attack is a method used in cryptography to find a key (or username, or password). A large number of words are tried. These words usually come from a special collection, called a "dictionary".