def sigma1
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/sha.bend as Shaimport Base
20def sigma1(+x: U32) -> U32:
21 U32.xor(U32.xor(rotate(x, 17n), rotate(x, 19n)), U32.shrn(x, 10n))
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/sha.bend as Shaimport Base
20def sigma1(+x: U32) -> U32:
21 U32.xor(U32.xor(rotate(x, 17n), rotate(x, 19n)), U32.shrn(x, 10n))