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