1.0.16 • Published 2 years ago

graphic-pwd v1.0.16

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

graphic-pwd-package

A react component library for Graphical Password Authentication

Installing the peer dependencies

graphic-pwd has some peer dependencies, so you need to install them manually first

npm i @emotion/react @emotion/styled @mui/material sha.js buffer

Note

please use react and react-dom version 17

Using the package

import { GraphicPassword } from "graphic-pwd";

  const [password, setPassword] = useState("");//when generate is clicked, this password would be set to a hash
  const [len, setLen] = useState(0);//for the password length

    //grid_size should be between 3 to 7 (both inclusive)
    //max_len should not be more than 20

    <GraphicPassword
        grid_size={5}
        max_len={15}
        setPassword={setPassword}
        setLen={setLen}
    />

Reference image

alt text

1.0.16

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago