Password creation
Q1-Write a console program for password is not like words in dictionary.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Sep 8, 2014, 6:19 AM
The following assumes you're using the MS Word dictionary and .NET 4.0 (VS 2010) or later. To do so you need to add a reference to the Microsoft Word Object Library (version 12.0 or later) which is under the COM tab:
Note that this approach is far from perfect as there are some words (such as countries or well known place names) which won't be in a normal dictionary. You really need to combine potentially suitable words with digits or special characters to produce reasonably strong passwords.
sriballabha RoutPosted Sep 8, 2014, 4:00 AM
VulpesPosted Sep 5, 2014, 11:46 AM
The following program generates random passwords between 8 and 12 characters in length which include exactly two digits. The remaining characters are upper or lower case letters:
/* sample output - will be different each time of course */