<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pycrypto.git/lib/Crypto/Random/random.py, branch junk/master</title>
<subtitle>github.com: dlitz/pycrypto.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pycrypto.git/'/>
<entry>
<title>Fix LP#1061217: random.shuffle takes O(n^2) time</title>
<updated>2013-02-16T18:50:03+00:00</updated>
<author>
<name>Dwayne Litzenberger</name>
<email>dlitz@dlitz.net</email>
</author>
<published>2013-02-16T18:50:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pycrypto.git/commit/?id=14ef4933c9c0b21c7bfba3556e1aa13f3f9ef6ff'/>
<id>14ef4933c9c0b21c7bfba3556e1aa13f3f9ef6ff</id>
<content type='text'>
The previous implementation took O(n**2) time and O(n) auxiliary space.
We now use the Fisher-Yates algorithm, which takes O(n) time and O(1)
space.

Thanks to Sujay Jayakar and Andrew Cooke for pointing this out and
suggesting a solution.

Bug report: https://bugs.launchpad.net/pycrypto/+bug/1061217
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The previous implementation took O(n**2) time and O(n) auxiliary space.
We now use the Fisher-Yates algorithm, which takes O(n) time and O(1)
space.

Thanks to Sujay Jayakar and Andrew Cooke for pointing this out and
suggesting a solution.

Bug report: https://bugs.launchpad.net/pycrypto/+bug/1061217
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix AllOrNothing and random.sample()</title>
<updated>2011-01-06T12:18:12+00:00</updated>
<author>
<name>Thorsten Behrens</name>
<email>sbehrens@gmx.li</email>
</author>
<published>2011-01-06T12:18:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pycrypto.git/commit/?id=60896cc61a960e6bfef680ad890c0f848c9fc27c'/>
<id>60896cc61a960e6bfef680ad890c0f848c9fc27c</id>
<content type='text'>
o AllOrNothing no longer fails occasionally. Patch by Lorenz Quack
o random.sample() works on Python 2.1. Patch by Paul Koning and Lorenz
  Quack
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
o AllOrNothing no longer fails occasionally. Patch by Lorenz Quack
o random.sample() works on Python 2.1. Patch by Paul Koning and Lorenz
  Quack
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve random selftest</title>
<updated>2011-01-05T12:54:04+00:00</updated>
<author>
<name>Thorsten Behrens</name>
<email>sbehrens@gmx.li</email>
</author>
<published>2011-01-05T12:54:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pycrypto.git/commit/?id=b27696462b1e7c6c53ce2ac6760567eb6ff744b6'/>
<id>b27696462b1e7c6c53ce2ac6760567eb6ff744b6</id>
<content type='text'>
o Random selftest is improved, less likely to collide
o random.shuffle() is more pythonic
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
o Random selftest is improved, less likely to collide
o random.shuffle() is more pythonic
</pre>
</div>
</content>
</entry>
<entry>
<title>Add unit tests for Crypto.Random.random</title>
<updated>2010-12-31T05:15:34+00:00</updated>
<author>
<name>Thorsten Behrens</name>
<email>sbehrens@gmx.li</email>
</author>
<published>2010-12-31T05:15:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pycrypto.git/commit/?id=5dc2f8f216a49ff2254dc1edc451904e188e5e9b'/>
<id>5dc2f8f216a49ff2254dc1edc451904e188e5e9b</id>
<content type='text'>
o Add unit tests
o Fix random.shuffle()
o random.sample() does not work on 2.1. This has not been fixed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
o Add unit tests
o Fix random.shuffle()
o random.sample() does not work on 2.1. This has not been fixed.
</pre>
</div>
</content>
</entry>
<entry>
<title>PY3K _fastmath support</title>
<updated>2010-12-29T18:21:05+00:00</updated>
<author>
<name>Thorsten Behrens</name>
<email>sbehrens@gmx.li</email>
</author>
<published>2010-12-29T18:21:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pycrypto.git/commit/?id=cb48387f66a7fe9c2450b740a84c3c5af3712895'/>
<id>cb48387f66a7fe9c2450b740a84c3c5af3712895</id>
<content type='text'>
o _fastmath now builds and runs on PY3K
o Changes to setup.py to allow /usr/include for gmp.h
o Changes to setup.py to allow linking fastmath w/ static mpir
  on Windows without warning messages
o Changes to test_DSA/test_RSA to throw an exception if _fastmath
  is present but cannot be imported (due to an issue building
  _fastmath or the shared gmp/mpir libraries not being reachable)
o number.py has the code to flag a failing _fastmath, but that
  code is commented out for a better runtime experience
o Clean up the if for py21compat import - should have been == not is
o Clean up some '== None' occurences, now 'is None' instead
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
o _fastmath now builds and runs on PY3K
o Changes to setup.py to allow /usr/include for gmp.h
o Changes to setup.py to allow linking fastmath w/ static mpir
  on Windows without warning messages
o Changes to test_DSA/test_RSA to throw an exception if _fastmath
  is present but cannot be imported (due to an issue building
  _fastmath or the shared gmp/mpir libraries not being reachable)
o number.py has the code to flag a failing _fastmath, but that
  code is commented out for a better runtime experience
o Clean up the if for py21compat import - should have been == not is
o Clean up some '== None' occurences, now 'is None' instead
</pre>
</div>
</content>
</entry>
<entry>
<title>Changes to allow pycrpyto to work on Python 3.x as well as 2.1 through 2.7</title>
<updated>2010-12-28T21:26:52+00:00</updated>
<author>
<name>Thorsten Behrens</name>
<email>sbehrens@gmx.li</email>
</author>
<published>2010-12-28T21:26:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pycrypto.git/commit/?id=295ce314d9f5c750d9569ac75a4f78331fae9992'/>
<id>295ce314d9f5c750d9569ac75a4f78331fae9992</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Legal: Dedicate my files to the public domain.</title>
<updated>2009-03-01T15:22:51+00:00</updated>
<author>
<name>Dwayne C. Litzenberger</name>
<email>dlitz@dlitz.net</email>
</author>
<published>2009-02-28T18:24:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pycrypto.git/commit/?id=386de1947b282c3a01cd6533419d3d8592ffb861'/>
<id>386de1947b282c3a01cd6533419d3d8592ffb861</id>
<content type='text'>
In an attempt to simplify the copyright status of PyCrypto, I'm placing my
code into the public domain, and encouraging other contributors to do the
same.

I have used a public domain dedication that was recommended in a book on FOSS legal
issues[1], followed by the warranty disclaimer boilerplate from the MIT license.

[1] _Intellectual Property and Open Source: A Practical Guide to Protecting
    Code_, a book written by Van Lindberg and published by O'Reilly Media.
    (ISBN 978-0-596-51796-0)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In an attempt to simplify the copyright status of PyCrypto, I'm placing my
code into the public domain, and encouraging other contributors to do the
same.

I have used a public domain dedication that was recommended in a book on FOSS legal
issues[1], followed by the warranty disclaimer boilerplate from the MIT license.

[1] _Intellectual Property and Open Source: A Practical Guide to Protecting
    Code_, a book written by Van Lindberg and published by O'Reilly Media.
    (ISBN 978-0-596-51796-0)
</pre>
</div>
</content>
</entry>
<entry>
<title>cleanup: Move modules to "lib/Crypto" subdirectory.</title>
<updated>2009-02-28T18:14:53+00:00</updated>
<author>
<name>Dwayne C. Litzenberger</name>
<email>dlitz@dlitz.net</email>
</author>
<published>2009-02-28T18:14:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pycrypto.git/commit/?id=ff8a657a8dd688551c59b4bbf7be33510992ee46'/>
<id>ff8a657a8dd688551c59b4bbf7be33510992ee46</id>
<content type='text'>
This will avoid the previous situation where scripts like the old "test.py"
get included accidentally in a release.  It also frees us to put additional
build scripts in the top-level directory of the source tree.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will avoid the previous situation where scripts like the old "test.py"
get included accidentally in a release.  It also frees us to put additional
build scripts in the top-level directory of the source tree.
</pre>
</div>
</content>
</entry>
</feed>
