Git Product home page Git Product logo

okstart1 / password-strength-checker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from abacusgpt/password-strength-checker

0.0 0.0 0.0 220 KB

Check the password strength via OpenAI

Home Page: https://medium.com/@ozbillwang/revolutionizing-password-strength-evaluation-with-openai-a-new-open-source-project-psc-83a63af32bb6

License: MIT License

Shell 0.48% Go 23.61% HTML 15.38% CSS 9.05% JavaScript 51.48%

password-strength-checker's Introduction

Notes: The tool sends passwords to OpenAI in plain text. Using this tool carries the risk of exposing your password. Please be aware of the potential risks.

Password-Strength-Checker (psc)

Check the password strength via OpenAI

Usage

Prepare your OpenAI API Key

Way 1 is, set environment variable

export OPENAI_API_KEY="<replace with your openai api key>"

Way 2 is, put the key to local .env

mv .env.sample .env

update the API key with yours

Run psc tool directly

Download the binary from release

Choice the suitable OS for your environment

uncompress and run it

# for example, from my macbook
$ wget https://github.com/AbacusGPT/Password-Strength-Checker/releases/download/v1.0.13/psc-1.0.13-darwin-amd64.tar.gz 

$ tar zxvf psc-1.0.13-darwin-amd64.tar.gz

$ mv psc-1.0.13-darwin-amd64 psc

$ ./psc --password 'Pass!234'
weak

$ ./psc --password '62sWJFk28gVnXK3u'
strong

Only for mac user, you need allow applications downloaded from "App Store and identified developers" in "Privacy & Security" setting.

image

build by yourself

  • Clone this repo
git clone https://github.com/AbacusGPT/Password-Strength-Checker
  • Prepare your OpenAI API Key

Way 1 is, set environment variable

export OPENAI_API_KEY="<replace with your openai api key>"

Way 2 is, put the key to local .env

mv .env.sample .env

update the API key with yours

  • run the build
go build -o psc .

You should see a binary file psc generated locally

  • run the test now
./psc --password 'Pass!234'
weak

$ ./psc --password '62sWJFk28gVnXK3u'
strong

password-strength-checker's People

Contributors

figohuang avatar ozbillwang 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.