Yes. But a sophisticated hacker can get your random password generator to generate the same passwords you did. Random is not as random as you think it is, so your program can be used to generate the passwords and lower the number of attempts needed to guess the password.
Random should not be used for security sensitive things.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hmm.. python's random library is not cryptographically secure.
Are you sure this is sufficiently unguessable?
I'd use the secrets library instead.
If it's a password, presumably you'd want it as unguessable as possible.
I am sure guessing that password is not easy, password with a mixture of uppercase, lowercase, numbers and special characters not easy..
Yes. But a sophisticated hacker can get your random password generator to generate the same passwords you did. Random is not as random as you think it is, so your program can be used to generate the passwords and lower the number of attempts needed to guess the password.
Random should not be used for security sensitive things.