Git Product home page Git Product logo

password-strength-checker's Introduction

password-strength-checker

Created a password strength checker using a combination of hashing algorithms and password policies using various Python pretrained models and APIs:

Choose a hashing algorithm: There are many hashing algorithms available, but for this project, we will use SHA-256. Python has a built-in hashlib library that can be used to generate SHA-256 hashes.

Set up password policies: Password policies are a set of rules that define the strength of a password. For example, password length, the inclusion of uppercase and lowercase letters, numbers, and symbols. You can use a Python library like password_strength to set up password policies.

Generate hash of the password: Once the user enters the password, generate the SHA-256 hash of the password using the hashlib library.

Compare the generated hash with a list of known compromised passwords: There are many databases available online that store hashes of known compromised passwords. You can use the haveibeenpwned API to check if the generated hash matches with any known compromised password hashes.

Evaluate password strength based on password policies: Check the password against the password policies set up in step 2. The password strength can be evaluated based on the number of policies the password satisfies.

Provide feedback to the user: Finally, provide feedback to the user based on the strength of the password. If the password is strong, let the user know that it's a good password. If it's weak, provide suggestions on how to improve the password.

password-strength-checker's People

Contributors

jish123k avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.