Skip to main content

Questions tagged [password-generator]

Password generators are programs that generate text passwords from a random data stream.

Filter by
Sorted by
Tagged with
8 votes
1 answer
813 views

Typical password generator in Python

Password generators are extremely popular on CodeReview with beginners to both coding in general and Python in particular, for a number of reasons: They're (seemingly) easy to implement They offer an ...
8 votes
2 answers
1k views

Beginner level password generator optimization

I've been learning python for a few days now, and I programmed this password generator after today's lesson (following the 100 days of code on udemy course). This code works like it should and gives ...
PSapola's user avatar
  • 83
0 votes
2 answers
213 views

Generate random password from a list of allowed characters

The code itself is a random password generator which is encapsulated. The other question about this code is whether it should be encapsulated on its main function. Or is it enough to exist in its own ...
KhodeNima's user avatar
3 votes
1 answer
150 views

Python command line password generator

After giving a couple of well-received answers to similar questions, I thought I'd try to come up with my own solution. I believe that a good password generator can and should be quite simple without ...
gazoh's user avatar
  • 3,359
2 votes
0 answers
141 views

Truly cryptographically secure password generator in Python, version 2

Following suggestions from answers from my previous question, I have completely rewrote my script, to make it more concise and Pythonic, truly cryptographically secure, and added more functionality. ...
Ξένη Γήινος's user avatar
10 votes
3 answers
2k views

Python command-line program that generates passwords

I took my code from this answer by me, I found it useful, so I developed it further, and here is the result. This script generates cryptographically secure passwords. The characters used by the ...
Ξένη Γήινος's user avatar
1 vote
1 answer
150 views

Password keeper / generator application in Python

I've written this password-keeper application to keep my passwords safe in one place. From something over few lines it grew to almost 200 lines of code. I would greatly appreciate it if someone could ...
Paichiwo's user avatar
  • 161
4 votes
1 answer
124 views

Python Password Generator with custom parameters

I have the following code here It's a password generator that lets you choose a completely random password with a certain length of a custom password with different amounts of character types. I want ...
jakelarson06's user avatar
1 vote
1 answer
164 views

Python password generator with Tkinter

I program in Python as a hobby and this week I decided to write a program that generates 16 character long passwords. I wrote this program as a class, which i rarely do. Because of this I think I ...
liteversion's user avatar
2 votes
2 answers
238 views

commandline Password-Generator in Kotlin

So I (a newbie to programming) wrote this password-generator as one of my very first programs in Kotlin. I started with Java a few weeks ago. I soon realized that Java was too hard for me, so I ...
RobertVanGaalen's user avatar
9 votes
6 answers
3k views

Python password generator class

I am a self taught python developer and I trying to write clean code as mush as possible. Since I do not have any environment that can give me constructive criticism, I would like to hear your ...
TheOriginalOdis's user avatar
5 votes
2 answers
432 views

Simple password generator with a GUI

I made a simple password-generating app with a GUI written in Python and the tkinter library. Here's how the GUI looks like: The passwords are strings composed of ...
janq0's user avatar
  • 53
2 votes
1 answer
83 views

Password generator - different solutions

I made a simple password generator (once again). ...
Tronzen's user avatar
  • 193
6 votes
2 answers
767 views

Password Generator with injected password model

I'm getting started with Python and one of the beginner projects to learn the language was a password generator (one of the dozens already in CodeReview). I have a C# and JS background so I want to ...
ZeroBased_IX's user avatar
9 votes
3 answers
2k views

A password generator

This a small project for a beginner, it basically generate symbols digits letters depending on the user input I want to make the code better and learn from my mistakes. ...
BackpainYT's user avatar
2 votes
3 answers
134 views

Python object-oriented password generator

I have made a random password generator using a class called password and a method called generate. My program works as it ...
some_user_3's user avatar
1 vote
1 answer
153 views

Strong password generator with symbols that user definies

I've created program like in the title. Actually I know I could use regex to create pattern and then do some actions from it, but I think my code is clear enough (at least for me :P). There is a ...
El Patron Salan's user avatar
5 votes
1 answer
234 views

Password Generator "Crapcode"

I made Password Generator on C#. It prompts the user for the length of the password, whether it contains numbers, lowercase letters, uppercase letters or symbols, and generates a strong password from ...
Tronzen's user avatar
  • 193
7 votes
5 answers
2k views

First password generator in Python

This is my first project using Python. I made a simple password generator that checks user input. How can I improve it? ...
José Manuel Bonet's user avatar
2 votes
1 answer
429 views

Password generator project in Python

A few days ago I posted my password generator project to help me learn and become more comfortable. I got a lot of great replies from that and I've sense updated and would love another look at the ...
Kadragon's user avatar
  • 129
4 votes
3 answers
145 views

Password Generator Python

I decided to make a password generator to get more familiar with Python. I had to break up the code into two boxes due to weird Stack Exchange highlighting with the triple quotes. How would you ...
Kadragon's user avatar
  • 129
-3 votes
1 answer
72 views

Extremely simple python password generator [closed]

I tried to make a password generator and at first it works as intended, generating a password with lowercase, uppercase and special characters but I can only generate passwords of up to 19 characters ...
gqToru's user avatar
  • 1
23 votes
8 answers
7k views

Random password generator in C

This is a simple password generator. What do you think about it? I am learning C for a while at school and at home. This just has a mix of symbols, lowercase, uppercase and numbers, with a ...
Karol's user avatar
  • 341
15 votes
4 answers
4k views

Password generator in python

Here's a password generator I created. ...
Sriv's user avatar
  • 2,750
2 votes
3 answers
377 views

Password generator class and CLI

I made a password generator class in C++. I am not as familiar with C++ as I am with C, so I am looking for ways to move to a C++ mindset. I am also trying to use embedded practices like avoiding ...
TenderShortGoldenRetriever's user avatar
2 votes
2 answers
2k views

Python password generator

This is considered as my second python project, I made the password generator where user has to input length of password minimum 5. I made the code that it will guarantee at least one lowers case, ...
AMJ's user avatar
  • 127
3 votes
3 answers
1k views

Simple Random Password Generator in Python

I've made a password generator that works fine. It takes alphabetic, numeric, and punctuation characters and randomly generates a 8-16 character password. ...
Throwaway25663579348's user avatar
3 votes
1 answer
1k views

Password Generator with GUI

I just finished my first GUI app, a Password Generator that can take any characters you want(I've added some default characters to make your life easier), and a password length up to 999, and some ...
Salah Eddine's user avatar
7 votes
2 answers
4k views

Python 3.4 password generator

I'm pretty new to Python and I made a password generator. I would like you to check it out and give me tips on how I could do it better. ...
Amer Zahirovic's user avatar
6 votes
2 answers
325 views

Password generator using Decorator Pattern

I made this password generator I'll use in a simple Android App. I want that it generates a password using a truly random number source, but I don't have idea how to do it by now, so a let a seed ...
alexpfx's user avatar
  • 524
6 votes
2 answers
3k views

Password generator in Django

I am a system admin, not a developer, so this might be pretty horrible code. This is a password generator. The point of the attempt was to become more familiar with Django at a lower level. I current ...
digitaladdictions's user avatar
4 votes
1 answer
750 views

Password generator in Python 3

I would like to see what you think of a password generator I coded in Python. ...
scripter's user avatar
  • 221
1 vote
3 answers
784 views

Random password generator in Java

I made a random password generator in Java using a GUI. In the program, the user can choose the length, and whether to include lowercase letters, uppercase letters, symbols or numbers in the password. ...
Dylan Black's user avatar
  • 1,461
5 votes
3 answers
275 views

Command line password generator

I built a random password generator in Java which is meant to be run from the command line. It accepts options for: Length Upper case letters Lower case letters Special characters Numbers The ...
vimdiesel's user avatar
7 votes
4 answers
1k views

Password Generator, generate password of desired length

While I do know that there are many questions regarding "password generators," I have a different approach and would like to know if it is effective. 1) The below password generator takes on a ...
Mario Ishac's user avatar
15 votes
3 answers
1k views

Simple password generator

Here is a simple password generator in Java: ...
Gumberto's user avatar
  • 153
4 votes
3 answers
9k views

Console random password generator

This program is a random password generator. It asks the user how many chars they want their password to be and how many passwords it should generate. I used the ...
Marcus Head's user avatar
8 votes
2 answers
387 views

Console based password generator

I am currently developing a password generator and just finished my first version. I know there is a lot to do but before I proceed with the next version I would like to have feedback on my current ...
Alexander's user avatar
  • 603
5 votes
2 answers
1k views

Password generator

I am playing around with CSS/HTML/PHP and created a password generator: ...
user2989236's user avatar
8 votes
4 answers
36k views

Random password generator

I just wrote my first Java class, and I wanted to share it with you and maybe get some quick check from more experiences coders than I am. I want to learn OOP, and Java is just the tool I thought was ...
doplumi's user avatar
  • 263
6 votes
3 answers
944 views

Code review for python password generator

The following code is a simple random password generator that spits out a randomized password based on some input flags. ...
Ayrx's user avatar
  • 215