With the recent attack on Twitter accounts of the celebrities, it is proven that the passwords can be weak, guessed,…