Is your password strong enough? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
17th May 2017, 9:16 PM
Bjarte Mehus Sunde
Bjarte Mehus Sunde - avatar
4 Answers
+ 1
very lovely code. How long did it take you learn all that? I just started python a few weeks ago.
27th May 2017, 9:55 AM
Ibukun
+ 7
That was honestly a good code but then the more efficent way is just to use shannon's equation to calculate a password's entropy. A password's enteopy represents the password strength. Higher it is, better it is. Sample of it here in C#: https://code.sololearn.com/cegywbN5lXxG/?ref=app
17th May 2017, 9:27 PM
Wen Qin
Wen Qin - avatar
+ 1
@Ibukun I have been programming for a couple of years with python. Hard question to answer, I guess it depends on how much you practice and how much you enjoy it 😊
6th Jun 2017, 6:23 PM
Bjarte Mehus Sunde
Bjarte Mehus Sunde - avatar
+ 1
Lovely code. Great work. If you add this capability it will be even more superb. Let the computer learn on its own or list the most common passwords based on what people enter.
20th Jan 2019, 6:58 AM
Mufungo Geeks
Mufungo Geeks - avatar