//Note: All variables are unsigned 32 bit and wrap modulo 2^32 when calculating var int[64] s, K //s specifies the per-round shift amounts s[ 0..15] := { 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22 } s[16..31] := { 5, 9, 14, 20, 5, 9,…