
Learn to check password leaks with the Have I Been Pwned API by hashing passwords with sha-1, sending the first five hex chars via Python requests, and comparing results locally.
Set up and activate a virtual environment in Visual Studio Code, install and import requests and hashlib, and configure Windows, Mac, and Linux commands to run and test API access.
Learn to use Python requests to call an API, build a URL, pass parameters, and inspect status codes, while hashing a password with sha1 to form a hex string.
Explore hashing passwords with hashlib in Python using sha1, build a request from the first five characters and the remainder, and check for breaches via the API.
Iterate API response text, split on the colon, and build a list of hex values. Then check hashes with hashlib and print breach counts when passwords appear in data breaches.
Explain hashing a password with hashlib and sending the first five characters to a password api to filter matches and false positives, using else and a requirements.txt.
Organize code into a pond_functions.py module by defining functions for user input, hashing with hashlib, calling the API, and checking and filtering results using keyword arguments.
In this Udemy course, "Mastering Password Security: Pwned On Python," you will delve into the critical aspects of password security, the risks associated with compromised passwords, and how hashing plays a pivotal role in safeguarding sensitive data. By the end of this course, you will have gained invaluable knowledge and practical skills to create secure password hashing systems and build a powerful password checker tool using Python.
Building a Password Checker Tool:
Combine the knowledge of password hashing and API interaction to build a practical password checker tool.
Develop a Python script that allows users to input passwords, hash them, and check for potential breaches using the Pwned API.
Enhance the tool by organizing code into functions
Learn to use hashlib and the requests library.
Organizing Python Code into Functions:
Understand the importance of writing modular and reusable code in Python.
Learn how to define and implement functions to break down complex tasks into manageable units.
Apply best practices for code organization, enhancing code readability, and maintainability.
By the end of this course, you will have developed a strong foundation in working with Python, some of its libraries, proficiency in working with the Pwned API, and the ability to create efficient and organized Python code. You will be empowered to build your password security tools, contribute to enhancing cybersecurity practices, and ensure the safety of sensitive information online. Join us now and take a step towards becoming a formidable defender of data integrity and privacy.