Example #1
0
def Sigma_256_0(self, x):
    return RotateRight(x, 2) ^ RotateRight(x, 13) ^ RotateRight(x, 22)
Example #2
0
def sigma_512_0(self, x):
    return RotateRight(x, 1) ^ RotateRight(x, 8) ^ LShR(x, 7)
Example #3
0
def sigma_512_1(self, x):
    return RotateRight(x, 19) ^ RotateRight(x, 61) ^ LShR(x, 6)
Example #4
0
def Sigma_512_1(self, x):
    return RotateRight(x, 14) ^ RotateRight(x, 18) ^ RotateRight(x, 41)
Example #5
0
def Sigma_512_0(self, x):
    return RotateRight(x, 28) ^ RotateRight(x, 34) ^ RotateRight(x, 39)
Example #6
0
def sigma_256_1(self, x):
    return RotateRight(x, 17) ^ RotateRight(x, 19) ^ LShR(x, 10)
Example #7
0
def sigma_256_0(self, x):
    return RotateRight(x, 7) ^ RotateRight(x, 18) ^ LShR(x, 3)
Example #8
0
def Sigma_256_1(self, x):
    return RotateRight(x, 6) ^ RotateRight(x, 11) ^ RotateRight(x, 25)