Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yogadeepan29/async--day-20_task-2_password-checker
Day-20 Task ( Promise Task ) - Password Checker
https://github.com/yogadeepan29/async--day-20_task-2_password-checker
api-rest bootstrap5 breach-check fetch-api haveibeenpwned html-css-javascript k-anonymity promise sha-1-hash
Last synced: about 2 months ago
JSON representation
Day-20 Task ( Promise Task ) - Password Checker
- Host: GitHub
- URL: https://github.com/yogadeepan29/async--day-20_task-2_password-checker
- Owner: Yogadeepan29
- Created: 2024-07-30T17:44:37.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-31T15:27:02.000Z (5 months ago)
- Last Synced: 2024-08-01T08:47:12.697Z (5 months ago)
- Topics: api-rest, bootstrap5, breach-check, fetch-api, haveibeenpwned, html-css-javascript, k-anonymity, promise, sha-1-hash
- Language: HTML
- Homepage: https://ryd-passwordchecker.netlify.app
- Size: 1.13 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: history.html
Awesome Lists containing this project
README
In this Repository, I have completed the Day 20 Async programming - Promise Task
==> Task-2
# Password Checker
Password Checker is a web application that helps users determine if their password has been compromised in a data breach. This project utilizes the Have I Been Pwned (HIBP) API and implements a method called "k-anonymity" to ensure user privacy and security.
## Features
- **Secure Password Checking**: Utilizes the Have I Been Pwned API to check if a password has been breached without storing or transmitting the full password.
- **k-Anonymity**: Only the first few characters of the password's SHA-1 hash are sent to the API, ensuring the actual password never leaves the user's device.
- **Breached Websites Display**: Displays a list of breached websites that are included in the Have I Been Pwned database.## How It Works
1. **Password Input**: Users enter a password they want to check.
2. **Hashing**: The password is hashed using SHA-1.
3. **k-Anonymity**: Only the first few characters of the SHA-1 hash are sent to the Have I Been Pwned API.
4. **Response**: The API returns a list of hash suffixes and the number of times each suffix has appeared in breaches. If the suffix of the hashed password appears in the list, the password has been compromised.
5. **Display Results**: The application displays whether the password has been breached and lists the compromised sites.## Technologies Used
- HTML, CSS, Bootstrap, JavaScript for the frontend.
- Have I Been Pwned API for checking breached passwords.
- Netlify for deployment.## Live Demo
Check out the live demo: [Password Checker](https://ryd-passwordchecker.netlify.app)