Signed Encryption FIXED by hallvabo

a=map(ord,raw_input())
h=0
for x in a:h^=x
x=h>>4
s=''
for c in a+[h%16<<4^h]:x=x<<8|c^h;s+=chr(x>>4);x&=15
print s

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top