Atom Feed - Avian Waves Forums - Forum:XS BAP General DiscussionAvian Waves Forums - Atom Feedurn:https:--www-avianwaves-com-Forums-aspx:AtomFeed:AvianWavesForums:Forum:XSBAPGeneralDiscussion:1Copyright 2024 Avian Waves Forums2024-03-28T07:42:27Zhttps://www.avianwaves.com/Forums.aspx/DesktopModules/YetAnotherForumDotNet/Images/Logos/favicon.pngForum Adminhttps://www.avianwaves.com/Forums.aspxno-reply@avianwaves.comTimothyhttps://www.avianwaves.com/Forums/g/Profile/u/2/TimothyTimothyhttps://www.avianwaves.com/Forums/g/Profile/u/2/TimothyTimothyhttps://www.avianwaves.com/Forums/g/Profile/u/2/TimothyYetAnotherForum.NETurn:https:--www-avianwaves-com-Forums-aspx:ftTopics:st1:tid156:lmid625:1XS BAP's Random Password Generator<table class="content postContainer_Alt" width="100%"><tr><td>I've been emailed a few times about how XS BAP generates its random passwords, so I am going to post the code below. It's not well commented, but basically it first checks to see what settings you specified and then generates a random password of a random length between the min and max. After that, it verifies complexity and if it fails complexity, it changes a character into a missing character type. After this, it randomly changes the order of all the characters so that any "forced complexity" characters do not always end up at the end of the string. It currently uses the Random class in .Net, but I have plans to see if I can change it over to a more cryptographically secure random number generator in the future. The generated passwords, if of a sufficient length, should provide adequette protection against any password cracker that doesn't "cheat" (eg, use rainbow tables and/or have some other sort of access to the box that negates the effectiveness of any password complexity a</td></tr></table><table><tr><td><a href="https://www.avianwaves.com/Forums/g/Posts/m/625/XS-BAP-s-Random-Password-Generator" ><img src="" alt ="Got to the newest Posting in the topic" title ="Got to the newest Posting in the topic" /></a></td></tr><table>2009-01-23T07:10:19-05:002009-01-23T07:10:19-05:00Timothy<table class="content postContainer_Alt" width="100%"><tr><td>I've been emailed a few times about how XS BAP generates its random passwords, so I am going to post the code below. It's not well commented, but basically it first checks to see what settings you specified and then generates a random password of a random length between the min and max. After that, it verifies complexity and if it fails complexity, it changes a character into a missing character type. After this, it randomly changes the order of all the characters so that any "forced complexity" characters do not always end up at the end of the string. It currently uses the Random class in .Net, but I have plans to see if I can change it over to a more cryptographically secure random number generator in the future. The generated passwords, if of a sufficient length, should provide adequette protection against any password cracker that doesn't "cheat" (eg, use rainbow tables and/or have some other sort of access to the box that negates the effectiveness of any password complexity a</td></tr></table><table><tr><td><a href="https://www.avianwaves.com/Forums/g/Posts/m/625/XS-BAP-s-Random-Password-Generator" ><img src="" alt ="Got to the newest Posting in the topic" title ="Got to the newest Posting in the topic" /></a></td></tr><table>urn:https:--www-avianwaves-com-Forums-aspx:ftTopics:st1:tid2:lmid2:1Welcome to XS BAP Forums!<table class="content postContainer_Alt" width="100%"><tr><td>Welcome to the RD Tabs forum! I hope this will prove to be a useful tool for users of RD Tabs.</td></tr></table><table><tr><td><a href="https://www.avianwaves.com/Forums/g/Posts/m/2/Welcome-to-XS-BAP-Forums" ><img src="" alt ="Got to the newest Posting in the topic" title ="Got to the newest Posting in the topic" /></a></td></tr><table>2007-01-27T16:28:16-05:002007-01-27T16:28:16-05:00Timothy<table class="content postContainer_Alt" width="100%"><tr><td>Welcome to the RD Tabs forum! I hope this will prove to be a useful tool for users of RD Tabs.</td></tr></table><table><tr><td><a href="https://www.avianwaves.com/Forums/g/Posts/m/2/Welcome-to-XS-BAP-Forums" ><img src="" alt ="Got to the newest Posting in the topic" title ="Got to the newest Posting in the topic" /></a></td></tr><table>