Password Generator – WordPress Plugin

I created this Password Generator plugin for WordPress. Running my own random password generator I can be sure 1) the passwords are truly random, and 2) the passwords are not copied or saved at all when they are generated.

My plugin adds a shortcode to WordPress and accepts the following parameters:

  • count=’20’ (the numbers of passwords you want generated)
  • length=’12’ (the length of the passwords)
  • case=’mixed’ (upper, lower, or mixed case)
  • special=’$,#,%,^,&’ (a list of the characters to use a special characters), or ‘false’ for none

The display below has been enlarged to make the passwords easier to see. I did this through CSS, which will not come though when you copy and paste.

KMR Password Generator

1. wqX5WM3y~Uk
2. gPRFJFO2*eE
3. jZELg5JL#kE
4. 5QOFThq1%8Q
5. D2MzGUDD$Bw
6. z85eRIUF^vw
7. YrQ7TOJS~YA
8. HGiX6IHF$w
9. UFBEWTWM*Gk
10. uARFKSAd&j
11. h020XVZ2*4Y
12. 26NDX1Er$yk
13. sXE66aWM*QI
14. U3NQHI3G&q
15. U9UDVm2Q-s
16. KWwF1KVK-2
17. mRIIct2f~
18. CXV5Ndmk#
19. 6YQ8XSAF:2Y
20. 8JC2UCuf$xg

What Next?

Features to consider for the next version …

The generator only includes 1 special character per password. Should more special characters be included in the password? Should it be optional how many (2, 3, 4, etc) are included?

I don’t like my mixed case function, it’s not guaranteed to include both upper and lower case. Got any ideas for a function to do this correctly and efficiently? I’m open for suggestions.

Published by

Kimball

Kimball is a website designer and developer in Pembroke, NH.

Leave a Reply

Your email address will not be published. Required fields are marked *