Ejemplo n.º 1
0
 private static uint σ1(uint x)
 {
     return(Sha256.ROTR(17, x) ^ Sha256.ROTR(19, x) ^ (x >> 10));
 }
Ejemplo n.º 2
0
 private static uint Σ1(uint x)
 {
     return(Sha256.ROTR(6, x) ^ Sha256.ROTR(11, x) ^ Sha256.ROTR(25, x));
 }
Ejemplo n.º 3
0
 private static uint σ0(uint x)
 {
     return(Sha256.ROTR(7, x) ^ Sha256.ROTR(18, x) ^ (x >> 3));
 }
Ejemplo n.º 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));
 }