www/js/asmcrypto/asmcrypto.all.js
// Calculates AES S-Box value
Calculates AES S-Box value
Calculates AES S - Box value
function _s(a) {
      var c, s, x;
      s = x = ginv(a);
      for (c = 0; c < 4; c++) {
        s = ((s << 1) | (s >>> 7)) & 255;
        x ^= s;
      }
      x ^= 99;
      return x;
    }
function _s ( a ) { var c , s , x ; s = x = ginv ( a ) ; for ( c = 0 ; c < 4 ; c ++ ) { s = ( ( s << 1 ) | ( s >>> 7 ) ) & 255 ; x ^= s ; } x ^= 99 ; return x ; }
Calculates AES S-Box value
Calculates AES S - Box value