Changeset 50


Ignore:
Timestamp:
06/12/13 18:05:19 (11 years ago)
Author:
tmorgan
Message:

more python3 fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/bletchley/chosenct.py

    r27 r50  
    33through chosen ciphertext attacks.
    44
    5 Copyright (C) 2012 Virtual Security Research, LLC
     5Copyright (C) 2012-2013 Virtual Security Research, LLC
    66Author: Timothy D. Morgan
    77
     
    2222import threading
    2323import struct
    24 import Queue
     24import queue
    2525
    2626def probe_bytes(checker, ciphertext, values, max_threads=1):
     
    4444        target = ciphertext[j]
    4545        suffix = ciphertext[j+1:]
    46         results = Queue.Queue()
     46        results = queue.Queue()
    4747        for i in range(0,num_threads):
    4848            subset = [values[s] for s in range(i,len(values),num_threads)]
Note: See TracChangeset for help on using the changeset viewer.