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. l9Y4WHfpigOz#
2. hE2vTKXUDMKp^
3. sGzrGx16OMin^
4. RSk8wZ10d97o$
5. ZN1ARQaAt7gY-
6. S6PcWM4KHlWA$
7. fHtE1QEYD61f:
8. nPr6eaY6DvnC$
9. 9zEQQBSjMOnX$
10. W7OOKKRGIdac~
11. XeUKT5nMcBvU$
12. CRpitK8EJBQA$
13. 3BAiGIXQNaxY%
14. ZBAB4CWkxYQe$
15. TX4wDNHDyZqI:
16. uTmhVVEA0hmm^
17. RJEA7HN1nURF$
18. aC5JEYRUlZnQ^
19. mLFOQo6D4xW6:
20. X2MVSMJFpB0d^

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 Goffstown, NH.

Leave a Reply

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