1.0.16 • Published 3 years ago

graphic-pwd v1.0.16

Weekly downloads
-
License
MIT
Repository
-
Last release
3 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

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago