Latest recipes tagged "passwords"http://code.activestate.com/recipes/tags/passwords/new/2013-01-02T14:33:42-08:00ActiveState Code RecipesGenerate Password and Bit Rank (Python) 2013-01-02T14:33:42-08:00Captain DeadBoneshttp://code.activestate.com/recipes/users/4184772/http://code.activestate.com/recipes/578397-generate-password-and-bit-rank/ <p style="color: grey"> Python recipe 578397 by <a href="/recipes/users/4184772/">Captain DeadBones</a> (<a href="/recipes/tags/passwords/">passwords</a>, <a href="/recipes/tags/password_generator/">password_generator</a>, <a href="/recipes/tags/python/">python</a>). </p> <p>The code generates passwords using different techniques and then checks them according to bit strength. Was written in context of <a href="http://thelivingpearl.com/2013/01/02/generating-and-checking-passwords-in-python/">Generating And Checking Passwords In Python</a>.</p> Generate and Rank Passwords in Python (Python) 2013-01-02T14:30:47-08:00Captain DeadBoneshttp://code.activestate.com/recipes/users/4184772/http://code.activestate.com/recipes/578396-generate-and-rank-passwords-in-python/ <p style="color: grey"> Python recipe 578396 by <a href="/recipes/users/4184772/">Captain DeadBones</a> (<a href="/recipes/tags/passwords/">passwords</a>, <a href="/recipes/tags/password_generator/">password_generator</a>, <a href="/recipes/tags/python/">python</a>). </p> <p>See <a href="http://thelivingpearl.com/2013/01/02/generating-and-checking-passwords-in-python/">generating and checking passwords</a> for more information. </p> Just Another Password Generator (Python) 2012-06-21T15:41:10-07:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/578171-just-another-password-generator/ <p style="color: grey"> Python recipe 578171 by <a href="/recipes/users/2608421/">Stephen Chappell</a> (<a href="/recipes/tags/password/">password</a>, <a href="/recipes/tags/passwords/">passwords</a>, <a href="/recipes/tags/password_generator/">password_generator</a>, <a href="/recipes/tags/utility/">utility</a>). </p> <p>The following two programs are simple examples of how one might go about creating a password generator. The first one was created several years ago and was designed to return passwords where similarly classed characters would not appear beside each other. It works but gets unbearably slow when passwords exceed about forty characters. The second program was designed with similar requirements runs considerably better. Eight-character passwords appear to have the same randomness to their construction, and this program is considerably faster than the first. Hopefully, these program design differences will be helpful to others trying to write their own password generator.</p> Password Generator (Short Code) (Python) 2011-11-18T03:02:13-08:00Alexander James Wallarhttp://code.activestate.com/recipes/users/4179768/http://code.activestate.com/recipes/577949-password-generator-short-code/ <p style="color: grey"> Python recipe 577949 by <a href="/recipes/users/4179768/">Alexander James Wallar</a> (<a href="/recipes/tags/alphabet/">alphabet</a>, <a href="/recipes/tags/generator/">generator</a>, <a href="/recipes/tags/lambda/">lambda</a>, <a href="/recipes/tags/password/">password</a>, <a href="/recipes/tags/passwords/">passwords</a>, <a href="/recipes/tags/password_generator/">password_generator</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/secure/">secure</a>, <a href="/recipes/tags/security/">security</a>, <a href="/recipes/tags/short_code/">short_code</a>). Revision 2. </p> <p>This recipe generates a pseudo-random password of a prescribed length. It also lets you specify what characters are not permitted in the password or specify what characters are.</p> Left-handed password generator (Python) 2011-10-31T12:51:14-07:00Alexhttp://code.activestate.com/recipes/users/4179771/http://code.activestate.com/recipes/577930-left-handed-password-generator/ <p style="color: grey"> Python recipe 577930 by <a href="/recipes/users/4179771/">Alex</a> (<a href="/recipes/tags/generator/">generator</a>, <a href="/recipes/tags/lefthand/">lefthand</a>, <a href="/recipes/tags/lefthanded/">lefthanded</a>, <a href="/recipes/tags/password/">password</a>, <a href="/recipes/tags/passwords/">passwords</a>). Revision 2. </p> <p>Generate passwords that can easily be typed with only the left hand, very simple script</p> A nicer password container than str (Python) 2012-06-23T18:00:21-07:00david.gaarenstroomhttp://code.activestate.com/recipes/users/4168848/http://code.activestate.com/recipes/576905-a-nicer-password-container-than-str/ <p style="color: grey"> Python recipe 576905 by <a href="/recipes/users/4168848/">david.gaarenstroom</a> (<a href="/recipes/tags/passwd/">passwd</a>, <a href="/recipes/tags/password/">password</a>, <a href="/recipes/tags/passwords/">passwords</a>, <a href="/recipes/tags/security/">security</a>). Revision 3. </p> <p>Because I did not want to expose my passwords in plain text whenever an exception was thrown or inside the debugger, I wrote this simple snippet. It's very simple, but can be quite useful nonetheless...</p>