crypto/algorithms/pureaescipher.py
def _createRoundKey(self, expandedKey, roundKeyPointer):
        '''
        Create a round key.
        Creates a round key from the given expanded key and the
        position within the expanded key.
        '''
        roundKey = [0] * 16
        for i in range(4):
            for j in range(4):
                roundKey[j*4+i] = expandedKey[roundKeyPointer + i*4 + j]
        return roundKey

        Create a round key.
        Creates a round key from the given expanded key and the
        position within the expanded key.
        
Create a round key.
Creates a round key from the given expanded key and the
position within the expanded key.
Create a round key . Creates a round key from the given expanded key and the position within the expanded key .
def _createRoundKey(self, expandedKey, roundKeyPointer):
        roundKey = [0] * 16
        for i in range(4):
            for j in range(4):
                roundKey[j*4+i] = expandedKey[roundKeyPointer + i*4 + j]
        return roundKey
def _createRoundKey ( self , expandedKey , roundKeyPointer ) : roundKey = [ 0 ] * 16 for i in range ( 4 ) : for j in range ( 4 ) : roundKey [ j * 4 + i ] = expandedKey [ roundKeyPointer + i * 4 + j ] return roundKey
Create a round key.
Create a round key .
'''
        Create a round key.
        Creates a round key from the given expanded key and the
        position within the expanded key.
        '''
self
expandedKey
roundKeyPointer