# Using non-standard constants for SHA-256

For SHA-256, FIPS 180-4 states the following on the constants:

These words represent the first thirty-two bits of the fractional parts of the cube roots of the first sixty-four prime numbers.

If one were to change some small number of those constants, say $n \leq 8$, to suitably "random" values, would this significantly weaken the cryptographic strength of SHA-256? The intent is simply to use a "non-standard" version of SHA-256.

• Round constants can be maliciously chosen, changing a few of them could substantially weaken the hash if you know what you are doing – Richie Frame Oct 27 '17 at 0:52
• If you merely want yo create a non-standard, you'ld probably be better off changing the IVs with values from a CSPRNG than fiddling with the round constants. – e-sushi Oct 27 '17 at 5:24