Hello,
I have the following Python Code. I would like to replace the block2=(letter1<<16) + (letter2<<8) + 32 using array module. ANy help is appreciated!
for letter1 in range(65,90):
for letter2 in range(65,90):
ptext=chr(letter1)+chr(letter2)+chr(32)
block2=(letter1<<16) + (letter2<<8) + 32
ctext=pow(block2,e,n)
table[ptext]=ctext