Random Secure Password Generator with jQuery - passGen

File Size: 15.4 KB
Views Total: 4382
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
Random Secure Password Generator with jQuery - passGen

Just another jQuery based password generator plugin that helps you generate random, highly secure passwords with custom patterns (length, digits, lowercase/uppercase, and special characters).

See also:

How to use it:

1. Add the jQuery passGen plugin along with jQuery library to your webpage.

<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="jquery-password-generator-plugin.js"></script>

2. Generate a random password string using default patterns.

$.passGen()

3. Specify the patterns.

$.passGen({

  // Number of characters
  'length' : 10,

  // Use numbers (0, 1, 2, etc...)
  'numeric' : true,

  // Use lowercase letters (a, b, c, etc...)
  'lowercase' : true,

  // Use uppercase letters (A, B, C, etc...)
  'uppercase' : true,

  // Use special characters (!, @, #, $, etc...)
  'special'   : false
  
})

4. Available character lists

charsets = {
  'numeric'   : '0123456789',
  'lowercase' : 'abcdefghijklmnopqrstuvwxyz',
  'uppercase' : 'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
  'special'   : '~!@#$%^&*()-+[]{}<>?'
};

This awesome jQuery plugin is developed by ssokurenko. For more Advanced Usages, please check the demo page or visit the official website.