hey, i have an assignment due very soon that i'm having trouble with. i am using c#.
the assignment is to create a random password from a word that the user inputs.
my problem is that what the user inputs, all i get back is the letter "a" for how ever many characters the user puts in. i think something is wrong wtih my for loop. here it is:
for(int i = 0; i< PasswordLength; i++)
{
chars = a_inputPhrase[(int)randomBytes % allowedCharCount];
}
please help!
thanks in advance
the assignment is to create a random password from a word that the user inputs.
my problem is that what the user inputs, all i get back is the letter "a" for how ever many characters the user puts in. i think something is wrong wtih my for loop. here it is:
for(int i = 0; i< PasswordLength; i++)
{
chars = a_inputPhrase[(int)randomBytes % allowedCharCount];
}
please help!
thanks in advance