Giter Club home page Giter Club logo

random-password-generator's People

Contributors

15554lore avatar alanyee avatar dancergraham avatar pyup-bot avatar suryasr007 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

random-password-generator's Issues

Minimum lenght requirement not met

i noticed when attempting to use the API hosted on heroku that the passwords don't match the minimum lenght of characters that I'm giving. I have verified the arguments and they match, but I can't seem to have a constant 16 character string, see the link below:
https://random-pg.herokuapp.com/api/generate?minlen=16&maxlen=16&minuchars=2&minlchars=2&minnumbers=2&minschars=2

and some results:

{"password":"Ek.lf0EOv"}
{"password":"pqWTi5%3&,2.Kt,"}
{"password":"rZPp%BHS7x1QB"}
{"password":"LOyr4qwgX$Csms<G"}
{"password":"a$WJI2"}
{"password":"3A5vqRP^s+d"}
{"password":"Jxz,wkFxb^6"}

Initial Update

The bot created this issue to inform you that pyup.io has been set up on this repo.
Once you have closed it, the bot will open pull requests for updates as soon as they are available.

Support Env Var setup

For dynamic deployment setup, without code changes, it would be useful to have environment variables to define the rules map.

Front End

Front End for the API

It can be simple API using any technologies. Good for people who are learning front end.

legacy support for random is insecure

random is not secure. urandom is considered cryptographically secure for use in generating password.

            from os import urandom
            pwd = (
                self.allowed_chars[ord(urandom(1)) % len(self.allowed_chars)]
                for i in range(length))

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.