def sub_bytes(self, block, sbox):

        for i in xrange(16):
            block[i] = sbox[block[i]]

        #print 'SubBytes   :', block
SubBytes step, apply S-box to all bytes
dataset/ETHPy150Open mrknow/filmkodi/plugin.video.mrknow/lib/utils/pyaes.py/AES.sub_bytes