I try to encrypt all zeros using the crypto library. However, after I do the decode, the value is gone. How can I get the ASCII value after the decode hex?
from Crypto.Cipher import AES
#..
#.. cipher initialization
#..
ctr_a = ctr.decode("hex") #hex coded string to hex string
print ctr
print ctr_a
temp = obj.encrypt(str(ctr_a))
output
ctr = 00000000000000000000000000000000
ctr_a =