def encrypt_block(self, block):

        # For efficiency reasons, the state between steps is transmitted via a
        # mutable array, not returned.
        self.add_round_key(block, 0)

        for round in xrange(1, self.rounds):
            self.sub_bytes(block, aes_sbox)
            self.shift_rows(block)
            self.mix_columns(block)
            self.add_round_key(block, round)

        self.sub_bytes(block, aes_sbox)
        self.shift_rows(block)
        # no mix_columns step in the last round
        self.add_round_key(block, self.rounds)
Retrieves a file entry for a path specification.
dataset/ETHPy150Open mrknow/filmkodi/plugin.video.mrknow/lib/utils/pyaes.py/AES.encrypt_block--crossover with--dataset/ETHPy150Open log2timeline/dfvfs/dfvfs/vfs/gzip_file_system.py/GzipFileSystem.GetFileEntryByPathSpec