News for hackers. Stuff that matters.
Re:Show HN: SHA-256 Animation by stan_rogers on Wednesday May 13, 2020 @09:34AM (#23166713)
There's nothing particularly special about the constants. They needed a set of n constants to work with and the "cube root of first n primes, truncated" scheme is a "nothing up my sleeve"[0] construction. If they'd used magic numbers with no obvious generation scheme, you'd be left wondering if that was done as a way to put a back door in place.

[0] https://en.wikipedia.org/wiki/Nothing-up-my-sleeve_number

Re:Show HN: SHA-256 Animation by jmiserez on Wednesday May 13, 2020 @10:14AM (#23167071)
That's also the explanation the author gives in chapter 4.

I'm more interested in how they came up with the parameters for the sigma functions. I'm sure it's described somewhere.