pinterest / pinball

Pinball is a scalable workflow manager
Apache License 2.0
1.05k stars 130 forks source link

Use secure random number generator in get_random_string #98

Closed devinlundberg closed 5 years ago

devinlundberg commented 6 years ago

get_random_string is used for creating hard to guess file names and the default PRNG is predictable. This replaces the PRNG with a secure random number generator when available.