4 ms·
Fortunately Python is safe in this case. https://hg.python.org/cpython/file/2.7/Lib/uuid.py#l582 https://hg.python.org/cpython/file/2.7/Lib/uuid.py#l582 - urand
by viraptor 11y ago
Fortunately Python is safe in this case. https://hg.python.org/cpython/file/2.7/Lib/uuid.py#l582 https://hg.python.org/cpython/file/2.7/Lib/uuid.py#l582 - urandom is the source for the UUID4. (same for 3.5: https://hg.python.org/cpython/file/3.5/Lib/uuid.py#l600 https://hg.python.org/cpython/file/3.5/Lib/uuid.py#l600)
- methyl 11y agoRuby is also safe: it uses OpenSSL/urandom for UUID: https://github.com/sj26/ruby-1.9.3-p0/blob/master/lib/securerandom.rb#L59 https://github.com/sj26/ruby-1.9.3-p0/blob/master/lib/secure... https://github.com/sj26/ruby-1.9.3-p0/blob/master/lib/securerandom.rb#L246 https://github.com/sj26/ruby-1.9.3-p0/blob/master/lib/secure...
- pkolaczk 11y agoJava is safe as well: http://docs.oracle.com/javase/7/docs/api/java/util/UUID.html#randomUUID%28%29 http://docs.oracle.com/javase/7/docs/api/java/util/UUID.html...