高强度密码生成器
XML/HTML Code
- <form class="form-horizontal">
- <div class="form-group">
- <label for="pass-len" class="col-sm-2 control-label">Lendth:</label>
- <div class="col-sm-3">
- <input type="number" name="len" id="pass-len" value="8" class="form-control">
- </div>
- </div>
- <div class="form-group">
- <div class="col-sm-offset-2 col-sm-10">
- <div class="checkbox">
- <label>
- <input type="checkbox" name="digits" id="pass-digits" checked>
- Need Digits </label>
- </div>
- <div class="checkbox">
- <label>
- <input type="checkbox" name="symbol" id="pass-symbols" checked>
- Need Symbols </label>
- </div>
- <div class="checkbox">
- <label>
- <input type="checkbox" name="similar" id="pass-similar" checked>
- Avoid similar characters (1, i, I, l, L), and (0, o, O) </label>
- </div>
- </div>
- </div>
- <div class="form-group">
- <label for="password" class="col-sm-2 control-label">Password:</label>
- <div class="col-sm-3">
- <input type="text" name="name" id="password" value="" class="form-control">
- </div>
- </div>
- <div class="form-group">
- <div class="col-sm-offset-3 col-sm-10">
- <input type="button" name="generate" id="generatePassword" value="Generate Password" class="btn btn-danger">
- </div>
- </div>
- </form>
原文地址:http://www.freejs.net/article_biaodan_499.html