Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gianlucajahn/universal-password-checker

An AI "strong password checker" built in 13 of the most popular programming languages.
https://github.com/gianlucajahn/universal-password-checker

c cplusplus csharp golang java javascript kotlin password-safety password-strength perl php python rust strong-password strong-password-generator swift typescript

Last synced: 4 days ago
JSON representation

An AI "strong password checker" built in 13 of the most popular programming languages.

Awesome Lists containing this project

README

        

Universal Password Checker


Password checker available in 13 languages



This is a universal password checker available in 13 programming languages that lets you check if the password that is being entered is considered "strong" and also tells you how many steps are left for it to be considered strong, if it's not.

This problem is derived from [Leetcode](https://leetcode.com), where it is one of the problems with the lowest acceptance (correct solution submitted) rates on the platform, which is why I took the challenge to complete it in a dozen languages.

### Why "Universal"?
The reason I called it a universal password checker is because it is available in 13 of the most popular programming languages. Those are:

- C
- C#
- C++
- GO
- Java
- JavaScript
- Kotlin
- Perl
- PHP
- Python
- Rust
- Swift
- TypeScript

### What does "strong" mean?
Any given password is considered strong if all of the following parameter are fulfilled:

- the password does atleast contain 6 characters
- the password does not exceed 20 characters
- the password has atleast one lower case letter
- the password has atleast one upper case letter
- the password has atleast one number
- the password does not have the same letter any more than 2 times in a row