Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Randomness (was : Call for presenters for September 11th)
- Date: Sat, 28 Aug 2021 10:00:32 +0100
- From: Darren Cook <darren@example.com>
- Subject: [tlug] Randomness (was : Call for presenters for September 11th)
- References: <7e1c6272-6eec-edba-97cc-33ed9d812533@vortorus.net> <20210828164135.CF0C.A5A534A3@a1d.co.jp>
> B) Random number generators. > Currently using python random library to generate candidate passwords. > Should one care about the randomness and uniformity of distribution? https://docs.python.org/3/library/random.html I think it is fine for generating candidate passwords (for use in cracking). The comment about "completely unsuitable for cryptographic purposes" is in relation to it being deterministic. The use of getstate/setstate should also allow you to shutdown the program and restart it later on from wherever you were up to, and not repeat the previous random numbers. For generating passwords, etc. that you will use to protect things, switch to https://docs.python.org/3/library/secrets.html Darren
- References:
- [tlug] Call for presenters for September 11th
- From: Edward Middleton
- Re: [tlug] Call for presenters for September 11th
- From: Jim Blackson
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Call for presenters for September 11th
- Next by Date: [tlug] Dealing with software with wide attack surface
- Previous by thread: Re: [tlug] Call for presenters for September 11th
- Next by thread: Re: [tlug] Call for presenters for September 11th
- Index(es):