2021.8.16 • Published 3 years ago

maskpassword v2021.8.16

Weekly downloads
32
License
MIT
Repository
github
Last release
3 years ago

Masked Password

Build a flexible password based on datetime .

example

  1. 'Sunrise in the east.'
  2. short numeric year
  3. numeric month
  4. 'hot summer has come.'

    If now is June 2021, the correct password is

    'Sunrise in the east.2106hot summer has come.'.

    If now is October 2022, the correct password is

    'Sunrise in the east.2210hot summer has come.'.

install

npm i maskpassword

npmjs

https://www.npmjs.com/package/maskpassword

github

https://github.com/danwha/MaskPassword

usage

  1. preparations
  • 0-1. require

    const MaskPassword = require('maskpassword')
      or
    import MaskPassword from 'maskpassword'
  • 0-2. class properties

    MaskPassword.regularExpression
    MaskPassword.locale
    MaskPassword.symbols
    MaskPassword.enableLongNames
    MaskPassword.monthNames
    MaskPassword.weekNames
  1. creation
  • 1-1. receive : <user's rule>
  • 1-2. declare & making rule
    let ValidMask = new MaskPassword([rule])
  • 1-3. checking
    ValidMask.isValid()
  • 1-4. encrypt
    let ruleEncrypt = ValidMask.encryption()
  • 1-5. save(aka db)
    let storage = ruleEncrypt
  1. verification
  • 2-1. receive : <user's password>
  • 2-2. load(aka db) :
  • 2-3. decrypt
    let ruleStr2 = ValidMask.decryption(storage, password)

See CHANGED.md for more.

Thank you for your donation.

ETH Wallet : 0x03AA0D76BE8f547244c5A7410674f400142305b0

2021.8.16

3 years ago

2021.7.26

3 years ago

2021.6.17

3 years ago

2021.6.9

3 years ago

2021.6.9-14

3 years ago

2021.3.29-22

3 years ago

2021.3.29

3 years ago

2021.1.21

3 years ago

2021.1.20-20

3 years ago

2021.1.20-18

3 years ago

2021.1.20

3 years ago

2021.1.19

3 years ago

2021.1.19-14

3 years ago

2021.1.18

3 years ago