예제 #1
0
 private static uint σ1(uint x)
 {
     return(Sha256.ROTR(17, x) ^ Sha256.ROTR(19, x) ^ (x >> 10));
 }
예제 #2
0
 private static uint Σ1(uint x)
 {
     return(Sha256.ROTR(6, x) ^ Sha256.ROTR(11, x) ^ Sha256.ROTR(25, x));
 }
예제 #3
0
 private static uint σ0(uint x)
 {
     return(Sha256.ROTR(7, x) ^ Sha256.ROTR(18, x) ^ (x >> 3));
 }
예제 #4
0
 // Logical functions [§4.1.2].
 private static uint Σ0(uint x)
 {
     return(Sha256.ROTR(2, x) ^ Sha256.ROTR(13, x) ^ Sha256.ROTR(22, x));
 }