Skip to content

mksonkar/react-password-generator

Repository files navigation

React Password Generator

A fully featured Password Generator built using React. https://passwrd-generator-react.netlify.app/

Features

  • Automatic password generation on page load
  • Specify password length using input slider
  • Include/Exclude Numbers
  • Include/Exclude Special Characters
  • Copy password with a single click
  • On demand generation of unique passwords with generate button
  • Automatic password generation on change of parameter (length, inculde/exclude numbers/characters)

Hooks used

  • useState to store password, length, isNumberIncluded, isCharIncluded
  • useRef to highlight password input on Copy
  • useCallback to memoize the generatePassword() function
  • useEffect to generate password on page load

About

A password generator built using React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published