Recent changes to 1845: Permit character weighting in Password Generator using […] notationhttps://sourceforge.net/p/keepass/feature-requests/1845/2014-04-08T05:35:24Z#1845 Permit character weighting in Password Generator using […] notation2014-04-08T05:35:24Z2014-04-08T05:35:24Zwellread1https://sourceforge.net/u/wellread1/https://sourceforge.netbe1d8fc676ca632356a11fb0036f7a2faeded230<div class="markdown_content"><p>I believe the explanation for why it is not appropriate to weight (assign selection probabilities to) individual characters in the Password Generator documentation is a bit misleading. The statement below about sets is true, but it is irrelevant.</p>
<blockquote>
<p>In mathematical terms, character sets are sets, not vectors. This means that characters can not be added twice to the set. Either a character is in the set or it is not.</p>
</blockquote>
<p>The <span>[…]</span> notation includes character repetition that is redundant in set notation. However, this information can be used easily to calculate the probability of randomly selecting a particular character from a set of characters having unequal probabilities of being selected. The distinction between a weighted set and an unweighted set disappears (except from the point of view of computational complexity) when one considers that the probability of randomly selecting a particular character from a character set of size N equal weighted characters is {1/N} for every member of the set.</p></div>#1845 Permit character weighting in Password Generator using […] notation2014-04-07T21:37:16Z2014-04-07T21:37:16Zwellread1https://sourceforge.net/u/wellread1/https://sourceforge.netaf6b302b6d74169927dd2aacdff21acc336cec3c<div class="markdown_content"><p>I should read the documentation more carefully. I see that the proposal has been considered, discarded and documented: <a href="http://keepass.info/help/base/pwgenerator.html#charset" rel="nofollow">http://keepass.info/help/base/pwgenerator.html#charset</a>.</p></div>Permit character weighting in Password Generator using […] notation2014-04-07T17:11:46Z2014-04-07T17:11:46Zwellread1https://sourceforge.net/u/wellread1/https://sourceforge.net909df20226389a569341308ca2e081c8e07f50e6<div class="markdown_content"><p>Currently the password generator notation '<span>[…]</span>' ignores a specified character weighting. For example:</p>
<p><span>[d\5\5\5\5\5\5\5\5\5\5]</span> is the same as <span>[d]</span><br />
<span>[\a\5\5\5\5\5\5\5\5\5\5]</span> is the same as <span>[\a\5]</span><br />
<span>[lddd]</span> is the same as <span>[ld]</span><br />
<span>[l\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!]</span>{3}l{9} is the same as <span>[l\!]</span>{3}l{9}</p>
<p>Weighting character sets is a method of tuning the frequency of special characters in generated passwords that is distinct from the option to randomly permute password characters.</p></div>