<commit_before><!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>BPasswd - a strong password generator</title>
</head>
<body>
  <div>
    <span style="float: left; width: 180px;">
      <label for="bpasswd-password">Master password: </label>
    </span>
    <input id="bpasswd-password" type="password" />
    <input id="bpasswd-show-pwd" type="checkbox" tabindex="-1" onchange="bpasswdReveal();" />
    <label for="bpasswd-show-pwd">Reveal</label>
  </div>
  <div>
    <span style="float: left; width: 180px;">
      <label for="bpasswd-salt">Salt: </label>
    </span>
    <input id="bpasswd-salt" type="text" />
  </div>
  <div>
    <span style="float: left; width: 180px;">
      <label for="bpasswd-dkey">Derived Key: </label>
    </span>
    <input id="bpasswd-dkey" type="text" size="40"/>
  </div>
  <button onclick="bpasswdDeriveKey();">Derive Key</button>
  <button onclick="bpasswdClear();">Clear</button>
  <div>
    <span style="float: left; width: 180px;">
      <label for="bpasswd-max-length">Max length: </label>
    </span>
    <input id="bpasswd-max-length" type="number" min="4" max="32" value="32"/>
  </div>
  <div>
    <span style="float: left; width: 180px;">
      <label for="bpasswd-cost">Cost: </label>
    </span>
    <input id="bpasswd-cost" type="number" min="1" max="100" value="6"/>
  </div>
  <div>
    <span style="float: left; width: 180px;">
      <label for="bpasswd-gen-method">Generation method: </label>
    </span>
    <select id="bpasswd-gen-method">
      <option value="base64">base64</option>
      <option value="conservative">conservative</option>
      <option value="z85">z85</option>
    </select>
  </div>
  <script src="qunit-1.10.0.js"></script>
  <script src="bpasswd.js"></script>
  <script>
    function bpasswdClear() {
      document.getElementById("bpasswd-password").value = "";
      document.getElementById("bpasswd-salt").value = "";
      document.getElementById("bpasswd-dkey").value = "";<commit_msg>adjust script path in web index.html<commit_after><!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>BPasswd - a strong password generator</title>
</head>
<body>
  <div>
    <span style="float: left; width: 180px;">
      <label for="bpasswd-password">Master password: </label>
    </span>
    <input id="bpasswd-password" type="password" />
    <input id="bpasswd-show-pwd" type="checkbox" tabindex="-1" onchange="bpasswdReveal();" />
    <label for="bpasswd-show-pwd">Reveal</label>
  </div>
  <div>
    <span style="float: left; width: 180px;">
      <label for="bpasswd-salt">Salt: </label>
    </span>
    <input id="bpasswd-salt" type="text" />
  </div>
  <div>
    <span style="float: left; width: 180px;">
      <label for="bpasswd-dkey">Derived Key: </label>
    </span>
    <input id="bpasswd-dkey" type="text" size="40"/>
  </div>
  <button onclick="bpasswdDeriveKey();">Derive Key</button>
  <button onclick="bpasswdClear();">Clear</button>
  <div>
    <span style="float: left; width: 180px;">
      <label for="bpasswd-max-length">Max length: </label>
    </span>
    <input id="bpasswd-max-length" type="number" min="4" max="32" value="32"/>
  </div>
  <div>
    <span style="float: left; width: 180px;">
      <label for="bpasswd-cost">Cost: </label>
    </span>
    <input id="bpasswd-cost" type="number" min="1" max="100" value="6"/>
  </div>
  <div>
    <span style="float: left; width: 180px;">
      <label for="bpasswd-gen-method">Generation method: </label>
    </span>
    <select id="bpasswd-gen-method">
      <option value="base64">base64</option>
      <option value="conservative">conservative</option>
      <option value="z85">z85</option>
    </select>
  </div>
  <script src="bpasswd.min.js"></script>
  <script>
    function bpasswdClear() {
      document.getElementById("bpasswd-password").value = "";
      document.getElementById("bpasswd-salt").value = "";
      document.getElementById("bpasswd-dkey").value = "";
{'fraction_non_alphanumeric': 0.20471243982771725, 'fraction_numerical': 0.021281986318723082, 'mean_word_length': 3.7509025270758123, 'pattern_counts': {'":': 0, '<': 139, '<?xml version=': 0, '>': 139, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2524506', 'n_tokens_mistral': 1488, 'n_tokens_neox': 1400, 'n_words': 275}