jQuery Based Strong Password Generator - PasswordGenerator

jQuery Based Strong Password Generator - PasswordGenerator
File Size: 16.1 KB
Views Total:
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

A customizable jQuery based password generator used to dynamically generate random complex strong passwords that follow special rules or certain conditions.

How to use it:

1. Download and place the minified version of the jQuery Password Generator after JQuery library.

<script src="//code.jquery.com/jquery.min.js"></script>
<script src="dist/generate-password.js"></script>

2. Create the password field and generate button on the webpage as this:

<div class="test">
  <input type="text">
  <button>Change</button>
</div>

3. Call the function on the top container and done.

$('.test').generatePassword();

4. Set the character set to be used in the password string.

$('.test').generatePassword({
  passCharachterSet: "a-z,#"
});

5. Set the length of generated password.

$('.test').generatePassword({
  passSize: "15"
});

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