I’m working on a new password generator, and I need to use large word lists in order for it to work. Word lists could be like 30-40mb and while I would like to use PHP for it, I don’t know if it will be the best solution. I need a language that deals with opening large files and scanning them. Is C is the best option? How can I make it web accessible, if so?
If a person chooses a password of length 16 it should “randomly” choose 2-4 words adding up to that length, so I’m not sure if it would be necessary to store the entire file into memory (doesn’t sound very efficient)
Thanks.
You should actually probably store your words in a database.
Any program can output html text. Using C is a pain in the neck, but it can definitely be done. See this question: https://softwareengineering.stackexchange.com/questions/132281/are-c-and-or-c-viable-practical-options-for-web-development