By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,851 Members | 2,104 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,851 IT Pros & Developers. It's quick & easy.

random password generator

P: 2
i am in great need of source code of random password generator in c language. please help me by sending the c code random password generator.
my email id:<removed>
Jun 11 '07 #1
Share this Question
Share on Google+
3 Replies


Savage
Expert 100+
P: 1,764
Nope,no sending codes here.Everything is done on the forum so that other people can learn,not just u.It's highly recomended that u read posting guidelines.

Savage
Jun 11 '07 #2

emaghero
P: 85
i am in great need of source code of random password generator in c language. please help me by sending the c code random password generator.
my email id:<removed>
If you are looking for a random number generator then you should start by with the linear congruentual generator. It is very simple and easily programmed. Google it for more information.
Jun 11 '07 #3

sicarie
Expert Mod 2.5K+
P: 4,677
That would be pretty simple to write, just assign numbers to all the values you want allowed into a password, then you can use C/C++'s random number generator to return a number in that range. There's a general algorithm to start with, if you have any trouble with the implementation, post your code and your specific question.
Jun 11 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.