Commit Graph

8 Commits

Author SHA1 Message Date
lakshyacis 28cfe78e67
helper_random pylint fixes 2019-11-25 15:17:40 +05:30
lakshyacis e97d02ed78
depends pylint fixes 2019-11-25 15:13:53 +05:30
Dmitri Bogomolov ad2a2b3fb4
Inherit helper_threading.StoppableThread from threading.Thread
and do random.seed() in its __init__
2019-08-06 18:07:19 +03:00
coffeedogs dd1ee618a5
Fixed: Simple Codacy errors and warnings in src/helper_*
* Some local pickle operations and non-cryptographic random operations
were marked as safe to the bandit linter
 * A bandit config file was added and assert warnings are now ignored globally
 * Tightened up exception handling and code style
2018-05-02 15:52:47 +01:00
Mahendra 1a36361ef9
replace all with helper random function 2018-03-21 19:26:27 +05:30
Mahendra 6076e1832a
implement more helper random changes with replace 2018-03-21 18:19:08 +05:30
Mahendra 48b8af975a
added random(sample, shuffle, randrange) methods in helper_random 2018-03-21 16:13:43 +05:30
Peter Šurda 27f5de0f9c
Unified random number provider
- not used yet, just an inactive helper function
- I received feedback that OpenSSL.rand isn't more secure than
os.urandom. I read several debates/analyses about it and concur
2017-07-05 08:52:16 +02:00