def setup(self):

        if self.key is None:
            self.key = Random.new().read(AES.block_size)

        return defer.succeed(True)
Create the symmetric key if it wasn't provided
dataset/ETHPy150Open lbryio/lbry/lbrynet/cryptstream/CryptStreamCreator.py/CryptStreamCreator.setup