'CBC algorithms are created by initializing with a BlockCipher instance'

def __init__(self, blockCipherInstance, padding=padWithPadLen()):

    self.baseCipher = blockCipherInstance
    self.name = (self.baseCipher.name + '_CBC')
    self.blockSize = self.baseCipher.blockSize
    self.keySize = self.baseCipher.keySize
    self.padding = padding
    self.baseCipher.padding = noPadding()
    self.r = Random()
    import time
    newSeed = (time.ctime() + str(self.r))
    self.r.seed(newSeed)
    self.reset()
