+ 7
Can we generate password in functions?
3 Answers
+ 2
As strings? Sure, why not. What language do you plan to use? For most cases, the algorithm should be simple. For a password of length N, make a loop which runs N times, and for each iteration, append a random alphanumeric symbol to a designated resultant string. After the loop execution is complete, return the string.
+ 2
Check out this assignment:
https://www.sololearn.com/learn/5676/?ref=app
0
Please specify which language you'd like to use