Re: Odd-length string

2013-10-06 Thread Piet van Oostrum
[email protected] writes: > I fixed this problem but encountered new problem. Problem was that some parts > that came throug my decryption were 00 or 0 the first symbol so the program > didnt show them. > > NEw problem is : Traceback (most recent call last): > File "C:\Users\Marko\Desktop\h

Re: Odd-length string

2013-10-06 Thread Terry Reedy
On 10/6/2013 10:37 AM, [email protected] wrote: NEw problem is : Traceback (most recent call last): File "C:\Users\Marko\Desktop\hacker.org\XOR cypher.py", line 35, in print("Key-" + str(võti) + ": " + str("".join(tulemus2))) TypeError: sequence item 0: expected str instance, bytes fo

Re: Odd-length string

2013-10-06 Thread Mark Lawrence
On 06/10/2013 15:37, [email protected] wrote: I fixed this problem but encountered new problem. Problem was that some parts that came throug my decryption were 00 or 0 the first symbol so the program didnt show them. NEw problem is : Traceback (most recent call last): File "C:\Users\Marko

Re: Odd-length string

2013-10-06 Thread markotaht
I fixed this problem but encountered new problem. Problem was that some parts that came throug my decryption were 00 or 0 the first symbol so the program didnt show them. NEw problem is : Traceback (most recent call last): File "C:\Users\Marko\Desktop\hacker.org\XOR cypher.py", line 35, in

Re: Odd-length string

2013-10-06 Thread Peter Otten
[email protected] wrote: > print("Key-" + str(võti) + ": " + str(unhexlify("".join(tulemus > > IM getting this error on this line. This is the print line of a decryption > program. I wanti it to convert the tulemus which is in HEX to ASCII so i > could read it. I could use online translator

Re: Odd-length string

2013-10-06 Thread Roy Smith
In article <[email protected]>, [email protected] wrote: > print("Key-" + str(võti) + ": " + str(unhexlify("".join(tulemus > > IM getting this error on this line. This is the print line of a decryption > program. I wanti it to convert the tulemus which