Changeset 50
- Timestamp:
- 06/12/13 18:05:19 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/bletchley/chosenct.py
r27 r50 3 3 through chosen ciphertext attacks. 4 4 5 Copyright (C) 2012 Virtual Security Research, LLC5 Copyright (C) 2012-2013 Virtual Security Research, LLC 6 6 Author: Timothy D. Morgan 7 7 … … 22 22 import threading 23 23 import struct 24 import Queue24 import queue 25 25 26 26 def probe_bytes(checker, ciphertext, values, max_threads=1): … … 44 44 target = ciphertext[j] 45 45 suffix = ciphertext[j+1:] 46 results = Queue.Queue()46 results = queue.Queue() 47 47 for i in range(0,num_threads): 48 48 subset = [values[s] for s in range(i,len(values),num_threads)]
Note: See TracChangeset
for help on using the changeset viewer.