How do you generate passwords? [closed]

2019-03-08 03:52发布

How do you generate passwords?

  • Random Characters?
  • Passphrases?
  • High Ascii?

Something like this?

cat /dev/urandom | strings

30条回答
女痞
2楼-- · 2019-03-08 04:22

On a Mac I use RPG.

查看更多
在下西门庆
3楼-- · 2019-03-08 04:24

Password Monkey, iGoogle widget!

查看更多
时光不老,我们不散
4楼-- · 2019-03-08 04:26

Pick a strong master password how you like, then generate a password for each site with cryptohash(masterpasword+sitename). You will not lose your password for site A if your password for site B gets in the wrong hands (due to an evil admin, wlan sniffing or site compromise for example), yet you will only have to remember a single password.

查看更多
Ridiculous、
5楼-- · 2019-03-08 04:27

The standard UNIX utility called pwgen. Available in practically any unix distribution.

查看更多
劳资没心,怎么记你
6楼-- · 2019-03-08 04:27

You will have to code extra rules to check that your password is acceptable for the system you are writing it for. Some systems have policies like "two digits and two uppercase letters minimum" and so on. As you generate your password character by character, keep a count of the digits/alpha/uppercase as required, and wrap the password generation in a do..while that will repeat the password generation until (digitCount>1 && alphaCount>4 && upperCount>1), or whatever.

查看更多
We Are One
7楼-- · 2019-03-08 04:27

I generate random printable ASCII characters with a Perl program and then tweak the script if there's extra rules to help me generate a more "secure" password. I can keep the password on a post-it note and then destroy it after one or two days; my fingers will have memorized it, and my password will be completely unguessable.

This is for my primary login password, something I use every day, and in fact many times a day as I sit down and unlock my screen. This makes it easy to memorize fast. Obviously passwords for other situations have to use a different mechanism.

查看更多
登录 后发表回答