Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #7171 > unrolled thread
| Started by | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| First post | 2011-06-07 14:26 -0400 |
| Last post | 2011-06-07 14:26 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: How good is security via hashing Terry Reedy <tjreedy@udel.edu> - 2011-06-07 14:26 -0400
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Date | 2011-06-07 14:26 -0400 |
| Subject | Re: How good is security via hashing |
| Message-ID | <mailman.2537.1307471185.9059.python-list@python.org> |
On 6/7/2011 7:35 AM, Robin Becker wrote: > I guess what I'm asking is whether any sequence that's using random to > generate random numbers is predictable if enough samples are drawn. Apparently so. random.random is *not* 'cryptographically secure'. https://secure.wikimedia.org/wikipedia/en/wiki/Cryptographically_secure_pseudorandom_number_generator One of Python's crypto wrapper modules (sorry, forget which one) was recently modified to expose the crypto rng functions in the wrapped C library. It should be mentioned in What New for 3.3. You might be able to get at the same functions with ctypes. -- Terry Jan Reedy
Back to top | Article view | comp.lang.python
csiph-web