Changeset 69


Ignore:
Timestamp:
03/12/14 13:45:28 (11 years ago)
Author:
tim
Message:

.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/bletchley/CBC/__init__.py

    r66 r69  
    248248                if x < self.retries:
    249249                    self.log_message("Value of a byte could not be determined. Retrying...")
     250                    # XXX: Instead of adding a new random block to the
     251                    #      beginning every time, would be better to just keep
     252                    #      randomizing the same block before the original
     253                    #      prior_prefix.
    250254                    prior_prefix = bytes([random.getrandbits(8) for i in range(self.block_size)]) + prior_prefix
    251255            else:
Note: See TracChangeset for help on using the changeset viewer.