Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ss95060
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
ss95060
11y ago
You might want to read this: http://security.stackexchange.com/questions/89813/managing-k... Anyways, if you decide you want to learn more about secure hash functions and cryptography in general, you can't go
2.
▲
by
ss95060
11y ago
Suppose, somehow, you seed your super-duper PRNG with the same value on multiple servers. If you are not incorporating other forms of entropy into your unique IDs, you are hosed. The cryptographic hash acts sort of like a blender for all y
3.
▲
by
ss95060
11y ago
Your code used the naive algorithm and the system PRNG to generate a set of "random" and thus probably "unique" strings. The PRNGs supplied with many languages are widely known to be of poor quality. The results were b