Giter Club home page Giter Club logo

pwd-check-and-create's Introduction

password validator and generator

requirement

a. has function for user to select which kind of password they want to validate or generate.

b. password requirement kind:

  1. enter how long your password is, minimum and maximum value
  2. enter whether your password need number, character, uppercase letter, or special character.

c. save the generated password to the file.

  1. choose to save or not.
  2. choose which file directory you want to save.
  3. enter the file name you want to save.

Design

a. start user interface

  1. start menu
  2. please enter generator or validator
  3. if validator should enter user's password
  4. switch select request interface

b. request interface

  1. enter the minimum and maximum length of your password
  2. choose your password need number, character, uppercase letter, or special character. yes or not
  3. if generator show the created password, if validator show the password is meet the requests or not
  4. ask user want to save the password or not, if yes switch to save interface, else switch to main frame or exit

c. save password interface

  1. open file manager, let user select which file directory he want to save. or let user enter the file directory.
  2. let user enter file name.
  3. exit or return to main frame.

Implement

a. main frame
just print welcome and let user choose
go to generator method
go to validator method with password

b. request frame
show the request for user to select
generator set password null then modify its request attributes. then generate it and switch to file frame.
validator set password to what user enter then modify its request attributes.then validate it and switch to file frame.

password class
frame method
validate and generate method
save file method

pwd-check-and-create's People

Contributors

owen-z avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.