How to Validate a Password Using Python (Simple)
HTML-код
- Опубликовано: 27 сен 2024
- How to Validate a Password Using Python (Simple)
Greetings, today were are here with another Python tutorial and we shall be looking at validating a Password. This tutorial will cover how to have a required length and check for an upper case, lower case, number and special character in the password. This password validation is great to ensure users input passwords that won't break your system, aren't too long and are to some extent harder to guess. This is a really good addition to add to your coursework project.
Here is a Python length check video: • Python Validation: Len...
Python range check video: • Python Validation: Ran...
Subscribe to keep notified when I upload?:
tinyurl.com/Su...
How to Validate a Password Using Python (Simple)
outstanding explenation, some days letter my interview , i found your chennel , tank u and god both
very helpful thank you
Aren't those requirements completely outdated? Length shouldn't matter because you hash it anyways and more characters beat special symbols every time. Also: does this account for other languages?
Nope, its common on many websites. Passwords don't really need to be complex but making them long makes it harder for brute force hash attacks.
I wish these were outdated. every website i go on screeches at me when i dont make a complicated' password. i have Google 2fa, that surely must be secure enough
You Are Very Handsome
Quick question for the def Isvalidpassword part, why use the def instead of using it as isvalidpassord= input()
Sorry I’m new and just don’t know 😊
If I understand what you’re asking, At 0:57 he says he’s showing us how to validate input and not how to get input. He has the “def Isvalidpassword” because that’s the function name where the code to validate the input will be.
hes defining a function, this can be called multiple times in a program. isvalidpassword= input() is a simple input statement