Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- test=0x1a6f2bec
- targets=[
- 0x12345678,
- 0x87654321,
- 0xbadfeed0,
- ]
- keys=[]
- print "IV:",hex(test)
- print "data:"
- for target in targets:
- print hex(target)
- print "encoded:"
- for t in targets:
- test=test^t
- keys.append(test)
- print hex(test)
- print "decoded:"
- test=0x1a6f2bec
- for key in keys:
- test=test^key
- print hex(test) # decodes first block
- #print hex(test^key) # decodes second block
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement