2 ms·
other examples: https://news.ycombinator.com/item?id=11161841 https://news.ycombinator.com/item?id=11161841
by baby 11y ago
other examples: https://news.ycombinator.com/item?id=11161841 https://news.ycombinator.com/item?id=11161841
- tptacek 11y agoLook at the BLAKE example there: it's simply the leading digits of pi. The rest of the examples seem like they prove my point. 1/pi? sin(n)? First N primes? Cubes of first N primes? I agree! Super sketchy! Why would you use any of those? Just use pi.
- baby 11y agoWAT, there was no pi in that list
- pbsd 11y agoYou probably don't want to use BLAKE as the poster child for this argument, since it uses two sets of constants of distinct provenance: the initialization vector, which uses the same constants as SHA-2, i.e., the square roots of the first 8 primes, and the constants used in the compression function, which are indeed the expansion of pi. BLAKE2 got rid of the pi constants.