Demo entry 6643740

ECB (portion of the code)

   

Submitted by anonymous on Sep 28, 2017 at 23:00
Language: Python. Code size: 336 Bytes.

text = [t1, t2, t3, t4, t5, t6, t7, t8]
tsize = len(t1)
key = [1] * 8

for index in range(len(text)):
	key[index] = (int)(knownText[0:tsize], 16) ^ (int)(text[index], 16)

for index in range(len(text)):
	test = key[5] ^ (int)(text[index], 16)
	print (hex)(test)[2:tsize+2].decode('hex')

print hex(key[5])[2:66].decode('hex')

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).