Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
@Marc-Andre Sorry I Changed it just to see how fast the calculation happens. I was writing it to a file usingwr.println. The problem seems to be from my algorithm since it take a long time to print out the result ( more than 30 seconds for 100000 passwords).