Diceware is a jQuery based mostly high-entropy but straightforward to recollect password generator that makes use of unusual cube to pick out phrases at random from a Diceware Phrase Checklist.
See It In Motion:
The way it works:
The password generator relies on the proposal at https://world.std.com/~reinhold/diceware.html whereby digital cube are roled 5 instances, and the 5 digit quantity used in opposition to a lookup desk of phrases. 4 cube rolls offers you 4 random phrases that are straightforward for a human being to recollect, but have a excessive quantity of entropy which makes them arduous to crack.
Learn how to use it:
1. Embody jQuery library and bundled JavaScript & CSS on the web page.
<hyperlink href="/path/to//cube.css" rel="stylesheet" /> <script src="/path/to/cdn/jquery.slim.min.js"></script> <script src="/path/to/dist/bundle.js"></script>
2. Create the HTML for the password generator.
<!-- This row is totally hidden, however is used to carry parts that get cloned after a cube roll. -->
<div class="supply" type="show: none; ">
<div class="col-md-12" type="peak: 0px; ">
<div class="die dice1 dice_element" type="float: left; ">
<div class="dot heart"></div>
</div>
<div class="die dice2 dice_element" type="float: left; ">
<div class="dot dtop dleft"></div>
<div class="dot dbottom dright"></div>
</div>
<div class="die dice3 dice_element" type="float: left; ">
<div class="dot dtop dleft"></div>
<div class="dot heart"></div>
<div class="dot dbottom dright"></div>
</div>
<div class="die dice4 dice_element" type="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="die dice5 dice_element" type="float: left; ">
<div class="dot dtop dleft"></div>
<div class="dot dtop dright"></div>
<div class="dot heart"></div>
<div class="dot dbottom dleft"></div>
<div class="dot dbottom dright"></div>
</div>
<div class="die dice6 dice_element" type="float: left; ">
<div class="dot dtop dleft"></div>
<div class="dot dtop dright"></div>
<div class="dot heart dleft"></div>
<div class="dot heart dright"></div>
<div class="dot dbottom dleft"></div>
<div class="dot dbottom dright"></div>
</div>
<div class="dice_word dice_element" type="float: left; padding-left: 20px; padding-top: 25px; ">
</div>
<div class="results_words_key" >Your phrases are: </div>
<div class="results_words_value" ></div>
<div class="results_phrase_key" >Your passphrase is: </div>
<div class="results_phrase_value" ></div>
<div class="results_num_possible_key" ># of attainable passwords: </div>
<div class="results_num_possible_value" ></div>
</div>
<div class="alert alert-danger bad_crypto" function="alert">
<span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
<span class="sr-only">Error:</span>
Whoa there! Your browser does not have the getRandomValues() perform.
Which means cube rolls you make <em>is not going to be cryptogrpahically safe!</em><br/>
Please attempt one other browser. In any other case, proceed at your individual danger.
</div>
</div>
<div class="message" ></div>
<h2 class="dice_num">
Variety of Cube Rolls:
</h2>
<div class="btn-group-lg" function="group" aria-label="...">
<button id="button-dice-2" kind="button" class="btn btn-default dice_button">2</button>
<button id="button-dice-3" kind="button" class="btn btn-default dice_button">3</button>
<button id="button-dice-4" kind="button" class="btn btn-default dice_button">4</button>
<button id="button-dice-5" kind="button" class="btn btn-default dice_button">5</button>
<button id="button-dice-6" kind="button" class="btn btn-default dice_button energetic">6</button>
<button id="button-dice-7" kind="button" class="btn btn-default dice_button">7</button>
<button id="button-dice-8" kind="button" class="btn btn-default dice_button">8</button>
</div>
<br/>
<a reputation="roll_dice_button" ></a>
<button kind="button" class="btn btn-default btn-lg btn-primary" id="roll_dice">
<span class="glyphicon glyphicon-play" aria-hidden="true" ></span>
Roll Cube!
</button>
<!-- Outcomes will probably be displayed right here. -->
<div class="outcomes">
</div>
Growth:
$ npm set up $ npm run dev-build $ http-server $ vim src/lib.js src/index.js $ rm -fv src/index.js && git co src/index.js $ npm run construct
Changelog:
2023-08-15
This superior jQuery plugin is developed by dmuth. For extra Superior Usages, please verify the demo web page or go to the official web site.

