All Projects → ezranbayantemur → react-native-passmeter

ezranbayantemur / react-native-passmeter

Licence: MIT license
Simple password strength meter for React Native.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to react-native-passmeter

password-list
Password lists with top passwords to optimize bruteforce attacks
Stars: ✭ 174 (+278.26%)
Mutual labels:  password, password-strength
Passgan
A Deep Learning Approach for Password Guessing (https://arxiv.org/abs/1709.00440)
Stars: ✭ 704 (+1430.43%)
Mutual labels:  password, password-strength
vue-simple-password-meter
Vue Simple Password Meter is a simple password strength meter component written in vanilla js and extremly lightweight
Stars: ✭ 65 (+41.3%)
Mutual labels:  password, password-strength
jquery.pwstrength
A jQuery plugin to indicate the strength of passwords
Stars: ✭ 22 (-52.17%)
Mutual labels:  password, password-strength
React Password Strength
A password strength indicator field for use in React projects
Stars: ✭ 167 (+263.04%)
Mutual labels:  password, password-strength
keepassxc-pwned
Check your keepassxc database against previously breached haveibeenpwned passwords
Stars: ✭ 25 (-45.65%)
Mutual labels:  password, password-strength
Kaonashi
Wordlist, rules and masks from Kaonashi project (RootedCON 2019)
Stars: ✭ 353 (+667.39%)
Mutual labels:  password, password-strength
checkforce.js
💪 A library that helps to perform tasks to test strength of passwords
Stars: ✭ 18 (-60.87%)
Mutual labels:  password, password-strength
Passwordstrengthbundle
Symfony Password strength and blacklisting validator bundle
Stars: ✭ 123 (+167.39%)
Mutual labels:  password, password-strength
Android Complexify
An Android library which makes checking the quality of user's password a breeze.
Stars: ✭ 111 (+141.3%)
Mutual labels:  password, password-strength
Bewgor
Bull's Eye Wordlist Generator - Does your password rely on predictable patterns of accessible info?
Stars: ✭ 333 (+623.91%)
Mutual labels:  password, password-strength
Password Strength
Angular UI library to illustrate and validate a password's strength with material design - Angular V9 supported
Stars: ✭ 186 (+304.35%)
Mutual labels:  password, password-strength
Probable Wordlists
Version 2 is live! Wordlists sorted by probability originally created for password generation and testing - make sure your passwords aren't popular!
Stars: ✭ 7,312 (+15795.65%)
Mutual labels:  password, password-strength
Cupp
The most common form of authentication is the combination of a username and a password or passphrase. If both match values stored within a locally stored table, the user is authenticated for a connection. Password strength is a measure of the difficulty involved in guessing or breaking the password through cryptographic techniques or library-based automated testing of alternate values.
Stars: ✭ 2,493 (+5319.57%)
Mutual labels:  password, password-strength
Python Scripts
Collection of Various Python Script's.💻
Stars: ✭ 195 (+323.91%)
Mutual labels:  password, password-strength
Passky-Server
API and Database for Passky (password manager)
Stars: ✭ 77 (+67.39%)
Mutual labels:  password
ComPP
Company Passwords Profiler (aka ComPP) helps making a bruteforce wordlist for a targeted company.
Stars: ✭ 44 (-4.35%)
Mutual labels:  password
pywnedpasswords
Checkt pwnedpasswords.com in a secure way
Stars: ✭ 22 (-52.17%)
Mutual labels:  password
password-hasher
The PasswordHasher component provides password hashing utilities.
Stars: ✭ 425 (+823.91%)
Mutual labels:  password
chinese-diceware
Diceware word lists in Chinese
Stars: ✭ 27 (-41.3%)
Mutual labels:  password

React Native Simple Passmeter

Simple password strength meter for React Native.

GitHub license PRs Welcome

Pass GIF

Description

PassMeter has 5 level of security. It's checks the typed password string has any upper case, lower case, numbers and special characters. Password string can be at least 4 character.

Strength Level Description Example
0 Length of the password is below then gived or default minLenght "ac", "A2b", "1&", ...
1 Password has at least one upper case, lower case, numbers and special characters "example", "PASSWORD", "%+%&/!", ...
2 Password contains only two condition of the required "exAmpLe", "pa22w0rd", "PA$$W%RD!", ...
3 Password contains only three condition of the required "3xAmpL3", "^!22w0rd&6", "pA$$W%RD!", ...
4 Password contains all of the required conditions "eX@mpL3", "^P@22w0rd", "pA22$$W%R1D!", ...

Installation

npm install react-native-passmeter

or

yarn add react-native-passmeter

Usage

import React, { useState } from "react";
import { SafeAreaView, TextInput } from "react-native";
import PassMeter from "react-native-passmeter";

const MAX_LEN = 15,
  MIN_LEN = 6,
  PASS_LABELS = ["Too Short", "Weak", "Normal", "Strong", "Secure"];

export default App = () => {
  const [password, setPassword] = useState("");

  return (
    <SafeAreaView style={styles.container}>
      <TextInput
        style={styles.input}
        maxLength={15}
        secureTextEntry
        onChangeText={password => setPassword(password)}
      />
      <PassMeter
        showLabels
        password={password}
        maxLength={MAX_LEN}
        minLength={MIN_LEN}
        labels={PASS_LABELS}
      />
    </SafeAreaView>
  );
};
const styles = {
  container: { flex: 1, justifyContent: "center" },
  input: {
    margin: 5,
    padding: 6,
    borderRadius: 8,
    marginBottom: 8,
    paddingHorizontal: 10,
    backgroundColor: "#eceff1"
  }
};

Properties

Prop Type Description isRequired Default Value
password String Typed password true
labels Array Strength levels of password true
minLength Number Minimum length of password false 4
maxLength Number Maximum length of password false 15
showLabels Boolean Visibilty of strength labels false true

@0.0.5

Contribute

Feel free to contribute, any PR will be welcomed!

LICENSE

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].