Skip to content

Instantly share code, notes, and snippets.

@farfromunique
Created September 21, 2017 23:40
Show Gist options
  • Save farfromunique/64c6b10095d673d8c5e84a54e99ea92f to your computer and use it in GitHub Desktop.
Save farfromunique/64c6b10095d673d8c5e84a54e99ea92f to your computer and use it in GitHub Desktop.
sample response data
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="page-header">
<h1 id="header" class="text-center">ACWPD Random Password Generator</h1>
</div>
<p>
This tool will generate a password for you using <a href="https://www.random.org/">Random.Org's</a> true random numbers. While the password is not guarenteed to be unique, there is a high probability that it is. It's also not something that can be guessed, as it's random.
</p>
<p>
These passwords are not designed to be memorized; they're designed for use with password managers, such as those built in to modern browsers, or standalone products. Because of this, they have a lot of characters in them, many of which are "special". We're working on a way to ensure that each password includes 1 capital, 1 lower-case, 1 number, and 1 special character; until we have that feature in place, please just generate a new password if the one(s) you generated didn't meet your requirements.
</p>
<p>
We've written an article explining why this site is needed. <a href="/discussion-of-passwords">Give it a read</a> if you want.
</p>
</div>
</div>
<div class="row">
<div class="col-md-4">
<form role="form">
<div class="form-group">
<label for="password-length ">
Number of characters in password
</label>
<input type="number" class="form-control" name="password-length" id="password-length" value="15" />
</div>
<div class="form-group">
<label for="password-count">
Number of passwords to generate
</label>
<input type="number" class="form-control" name="password-count" id="password-count" value="2" />
</div>
<div class="form-group">
<label for="character-range">
Type the characters you want to exclude
</label>
<input type="text" class="form-control" name="exclude" id="exclude" value="1i|Il!0oO`'.,_-;:" />
</div>
<a class="btn btn-primary btn-lg btn-block" ic-post-to="/a/password" ic-target="#passwords">
Get passwords!
</a>
</form>
</div>
<div class="col-md-4">
<p>
Your password will include only characters from this list:
</p>
<ul class="list-inline" id="all-characters">
</ul>
</div>
<div class="col-md-4" id="passwords">
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment