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