2015-04-25 20:33:19 -04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
|
|
<title>Bootstrap 101 Template</title>
|
|
|
|
|
|
|
|
<!-- Bootstrap -->
|
|
|
|
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
<link href="./starter-template.css" rel="stylesheet">
|
|
|
|
|
2015-04-26 02:08:58 -04:00
|
|
|
<!-- TEST -->
|
|
|
|
<link href="./dice.css" rel="stylesheet">
|
2015-04-25 20:33:19 -04:00
|
|
|
|
|
|
|
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
|
|
|
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
|
|
|
<!--[if lt IE 9]>
|
|
|
|
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
|
|
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
|
|
|
<![endif]-->
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<nav class="navbar navbar-inverse navbar-fixed-top">
|
|
|
|
<div class="container">
|
|
|
|
<div class="navbar-header">
|
|
|
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
|
|
|
|
<span class="sr-only">Toggle navigation</span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div id="navbar" class="collapse navbar-collapse">
|
|
|
|
<ul class="nav navbar-nav">
|
|
|
|
<li class="active"><a href="./index.html">Home</a></li>
|
|
|
|
<li><a href="contact.html">Contact</a></li>
|
|
|
|
</ul>
|
|
|
|
</div><!--/.nav-collapse -->
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
|
|
|
|
<div class="starter-template">
|
|
|
|
<h1>Diceware Password Generator</h1>
|
|
|
|
<p class="lead">
|
|
|
|
Generate high-entropy passwords the easy way!
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
2015-04-26 02:08:58 -04:00
|
|
|
<!-- This row is completely hidden, but is used to hold elements
|
|
|
|
that get cloned after a dice roll. -->
|
|
|
|
<div class="row source" style="display: none; ">
|
|
|
|
<div class="col-md-12" style="height: 0px; ">
|
|
|
|
|
|
|
|
<div class="side dice1" style="float: left; ">
|
|
|
|
<div class="dot center"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="side dice2" style="float: left; ">
|
|
|
|
<div class="dot dtop dleft"></div>
|
|
|
|
<div class="dot dbottom dright"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="side dice3" style="float: left; ">
|
|
|
|
<div class="dot dtop dleft"></div>
|
|
|
|
<div class="dot center"></div>
|
|
|
|
<div class="dot dbottom dright"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="side dice4" style="float: left; ">
|
|
|
|
<div class="dot dtop dleft"></div>
|
|
|
|
<div class="dot dtop dright"></div>
|
|
|
|
<div class="dot dbottom dleft"></div>
|
|
|
|
<div class="dot dbottom dright"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="side dice5" style="float: left; ">
|
|
|
|
<div class="dot dtop dleft"></div>
|
|
|
|
<div class="dot dtop dright"></div>
|
|
|
|
<div class="dot center"></div>
|
|
|
|
<div class="dot dbottom dleft"></div>
|
|
|
|
<div class="dot dbottom dright"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="side dice6" style="float: left; ">
|
|
|
|
<div class="dot dtop dleft"></div>
|
|
|
|
<div class="dot dtop dright"></div>
|
|
|
|
<div class="dot center dleft"></div>
|
|
|
|
<div class="dot center dright"></div>
|
|
|
|
<div class="dot dbottom dleft"></div>
|
|
|
|
<div class="dot dbottom dright"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
2015-04-26 02:14:23 -04:00
|
|
|
<span class="results_words_key" >Your words are: </span>
|
|
|
|
<span class="results_words_value" ></span>
|
|
|
|
<p/>
|
|
|
|
|
|
|
|
<span class="results_phrase_key" >Your passphrase is: </span>
|
|
|
|
<span class="results_phrase_value" ></span>
|
|
|
|
<p/>
|
2015-04-26 02:08:58 -04:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2015-04-25 20:33:19 -04:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
|
|
|
<h2>
|
2015-04-25 20:41:37 -04:00
|
|
|
Number of Dice to roll:
|
2015-04-25 20:33:19 -04:00
|
|
|
</h2>
|
|
|
|
|
|
|
|
<div class="btn-group-lg" role="group" aria-label="...">
|
2015-04-26 00:01:29 -04:00
|
|
|
<button type="button" class="btn btn-default dice_button">2</button>
|
|
|
|
<button type="button" class="btn btn-default dice_button">3</button>
|
|
|
|
<button type="button" class="btn btn-default dice_button active">4</button>
|
|
|
|
<button type="button" class="btn btn-default dice_button">5</button>
|
|
|
|
<button type="button" class="btn btn-default dice_button">6</button>
|
|
|
|
<button type="button" class="btn btn-default dice_button">7</button>
|
|
|
|
<button type="button" class="btn btn-default dice_button">8</button>
|
2015-04-25 20:33:19 -04:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<br/>
|
2015-04-26 00:01:29 -04:00
|
|
|
<button type="button" class="btn btn-default btn-lg btn-primary" id="roll_dice">
|
|
|
|
<span class="glyphicon glyphicon-play" aria-hidden="true" ></span> Roll Dice!
|
2015-04-25 20:33:19 -04:00
|
|
|
</button>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div><!-- /row -->
|
2015-04-26 00:01:29 -04:00
|
|
|
<p/>
|
|
|
|
|
|
|
|
<div class="row">
|
2015-04-26 02:08:58 -04:00
|
|
|
<div class="col-md-12" >
|
2015-04-26 00:01:29 -04:00
|
|
|
<div class="results" >
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div><!-- /row -->
|
|
|
|
|
2015-04-25 20:33:19 -04:00
|
|
|
|
2015-04-25 20:41:26 -04:00
|
|
|
<div class="row" style="text-align: left;">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<h3>About Diceware</h3>
|
|
|
|
|
|
|
|
Weak passwords are a big flaw in computer security due to a lack of "entropy"
|
|
|
|
or randomness. For example, how many times have you used a common name or word
|
|
|
|
in a password, or perhaps the number "1". Not very random, is it? :-)
|
|
|
|
</p>
|
|
|
|
|
|
|
|
Fact is, humans are terrible at remembering random combiations of letters and
|
|
|
|
numbers, but we are great at remembering phrases of words. That's where diceware comes in.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
Diceware is based on the propsal at <a href="http://world.std.com/~reinhold/diceware.html">http://world.std.com/~reinhold/diceware.html</a>
|
|
|
|
wherein virtual dice are roled 5 times, and the 5 digit number used against a lookup table of words.
|
|
|
|
4 dice rolls gives you 4 random words which are easy for a human being to remember, yet have
|
|
|
|
a high amount of entropy which makes them hard to crack.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
For more information on Diceware:
|
|
|
|
<ul>
|
|
|
|
<li><a href="http://world.std.com/~reinhold/diceware.html">The Diceware Passphrase FAQ</a></li>
|
|
|
|
<li><a href="http://world.std.com/~reinhold/diceware.wordlist.asc">Diceware word list</a></li>
|
|
|
|
<li><a href="http://world.std.com/~reinhold/diceware.txt">Diceware for Passphrase Generation and Other Cryptographic Applications</a></li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2015-04-25 20:33:19 -04:00
|
|
|
</div><!-- /starter-template -->
|
|
|
|
|
|
|
|
</div><!-- /.container -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
|
|
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
|
|
|
|
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
|
|
|
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
|
2015-04-25 23:02:05 -04:00
|
|
|
|
|
|
|
<script src="./main.js"></script>
|
|
|
|
|
2015-04-25 20:33:19 -04:00
|
|
|
</body>
|
|
|
|
</html>
|