Em 29 de dezembro de 2010 16:27, António Ramos escreveu:
> the output is the same as i have with my code
>
Strange.
for me it worked very well.
>>> xor(job_opportunity,k)
'Internship at i2Mobile, in Oeiras. We want creative young developers for
our very small team. We use Python, Django, Mysq
the output is the same as i have with my code
>>> xor(job_opportunity,k)
'5\x0bG\x7fevae+_Cy+l;A4\x1dKan))e5_mhbwh\x7fu_uh+rhb/_A\x7fnd}e-\x1a\x02tdpgk{\x1bG{nif|>\rQ-mj{,4\nP-}`{u{\x0cOlgi)x>\x1eO#+Rl,.\x0cG-[|}d4\x11\x0e-Oohb<\x10\x0e-F|z}7S\x02N())_\n3\x02^nw\x7fi)S\x02G9HL
{\x16m^\'%Hb?\rMdo))
Ops, I forgot to mention:
from itertools import izip,cycle
2010/12/29 Bruno Rocha
> >>> def xor(data,key):
> ... return ''.join(chr(ord(x) ^ ord(y)) for (x,y) in izip(data,
> cycle(key)))
> ...
> >>> k = 'i2Mobile'
> >>> job_opportunity =
> ' ' ' \\9\n\x10\x07\x1f\r\x00Bm\x0e\x16I\x05W$]/\x
>>> def xor(data,key):
... return ''.join(chr(ord(x) ^ ord(y)) for (x,y) in izip(data,
cycle(key)))
...
>>> k = 'i2Mobile'
>>> job_opportunity =
' ' ' \\9\n\x10\x07\x1f\r\x00Bm\x0e\x16I\x05W$]/\x06\x0e\...@e\x00\\m
\x07\x00\x1e\x04\x1a\x1cm8\x07I\x1b\x04\x07Fm\x0c\x10\x0c\r\x11\x00D(O\x1b\x06\x
i just xored every char in the password with the char in the array but got
another array full of garbage.
can you point any direction toward the sunshine?
Thanks
2010/12/29 Bruno Rocha
> NIce!
>
> But it is internship, django related and so far away from me or my Pythonic
> friends.
>
> So eas
NIce!
But it is internship, django related and so far away from me or my Pythonic
friends.
So easy to decrypt the message.
Em 29 de dezembro de 2010 15:25, António Ramos escreveu:
> Beats me
>
>
> https://docs.google.com/document/d/1LzT4fCd135lzgWiXGut6k4WoC9t7eV-6RSnUexNxezM/edit?hl=en_GB#
Beats me
https://docs.google.com/document/d/1LzT4fCd135lzgWiXGut6k4WoC9t7eV-6RSnUexNxezM/edit?hl=en_GB#
7 matches
Mail list logo