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. vE7O*GUbKJg
2. 1aY2^dj1nN
3. dRVO&N0dzS2
4. COWL+AuUGM
5. 4bvy&YXbmo
6. tEQD*HvxaqQ
7. xk5B^EvPrz
8. GskI~61U7g
9. 3uoI&FloEL
10. gMqV$5FxNPQ
11. HZuA^2WVNXc
12. 2VR8+DC93HM
13. heQF+YHygo
14. zi03#4N2AMg
15. SLJP#Oy1YxI
16. tSxJ^GPz7jI
17. dqpl$TGWA6U
18. rVkW#R0IN76
19. m6hs~ECzns
20. vvSZ$VJb6w

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 *