Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
viraptor
on Nov 26, 2015
|
parent
|
context
|
favorite
| on:
UUIDs generally do not meet security requirements
Fortunately Python is safe in this case.
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
)
methyl
on Nov 26, 2015
|
next
[–]
Ruby is also safe: it uses OpenSSL/urandom for UUID:
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/secure...
pkolaczk
on Nov 26, 2015
|
prev
[–]
Java is safe as well:
http://docs.oracle.com/javase/7/docs/api/java/util/UUID.html...
Consider applying for YC's Summer 2025 batch! Applications are open till May 13
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: