def matrix2int(argin): return _Long(8).fromArray(_State(4, 4).toArray(argin), 4*4*8)
def subkey2int(self, argin): return _Long(self._nKeyColumns*self._wordSize).\ fromArray(argin, self._blockSize)
def int2matrix(argin): return _State(4, 4).fromArray(_Long(8).toArray(argin, 4*4*8))
def key2int(self, argin): return _Long(self._blockSize).fromArray(argin, self._blockSize)
def int2subkey(self, argin): return _Long(self._nKeyColumns*self._wordSize).\ toArray(argin, self._blockSize)
def int2subkey(argin): return _Long(4*8).toArray(argin, 4*4*8)
def int2matrix(self, argin): return _State(self._nRows, self._nColumns).\ fromArray(_Long(self._wordSize).toArray(argin, self._blockSize))
def int2subkey(argin, nRows=4, nColumns=4, wordSize=8): return _Long(nColumns*wordSize).toArray(argin, nRows*nColumns*wordSize)
def subkey2int(argin, nRows=4, nColumns=4, wordSize=8): return _Long(nColumns*wordSize).fromArray(argin, nRows*nColumns*wordSize)
def int2key(self, argin): return _Long(self._blockSize).toArray(argin, self._blockSize)
def matrix2int(self, argin): return _Long(self._wordSize).\ fromArray(_State(self._nRows, self._nColumns).toArray(argin), self._blockSize)
def int2key(argin): return _Long(8).toArray(argin, 4*8*8)
def key2int(argin): return _Long(8).fromArray(argin, 4*8*8)
def subkey2int(argin): return _Long(4*8).fromArray(argin, 4*4*8)