Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
The #1 password generator on the web went down, so I built my own (copypassword.com)
4 points by Sawpaw19 on July 14, 2022 | hide | past | favorite | 12 comments


I get a vertical scroll bar in the text of the password in Chrome. It would be nice if you can hide it.

Where is the code? It would be nice if all the javascript code is in the same page without external javascript files, so the user can "verify" that you are not doing anything shady.

Are you using a cryptographic random generator? Anyway, my guess is that the people that ask the question is paranoid enough to not use this page to generate the password for the secret bank account or something.


I'm not able to repro the vertical scroll bar. Did you mean horizontal? It will scroll horizontally past a certain point. The code is not open source but I could definitely make it such that it is, I think that is a good idea. I am using a random generator, yes.


Take a look at https://imgur.com/a/GR6pxOC I added an arrow pointing to the problem.

It's a normal random generator or a cryptographic random generator?


Thanks so much for the screenshot, I will definitely look into that. It is a cryptographic random generator using a package that wraps cryptoJS


I think I fixed it so it shows the horizontal bar on older browsers.


Fix confirmed :)


Sometimes there are also simple ways which are as good as any

> head -c 20 /dev/random | xxd -ps


love it!


Are you running analytics on this?


just for page visits w/ google analytics.


Got it so harvesting everything


exactly




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: