Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- yaxis = sub(BL, TL)
- xaxis1 = sub(TR, TL)
- xaxis2 = sub(BR, BL)
- crypto = ""
- signature = ""
- for y in range(0, 32):
- for xt in range(0, 4):
- total = 0
- for xtt in range(0, 8):
- x = xt*8 + xtt
- xn = (x+1.0)/(32.0+1.0)
- yn = (y+1.0)/(32.0+1.0)
- finalloc = add(TL, add( mul(xaxis1, xn) ,mul( (sub(add(yaxis, mul(xaxis2, xn)), mul(xaxis1,xn))) , yn)))
- r,g,b = im.getpixel((int(finalloc[0]), int(finalloc[1])))
- im.putpixel((int(finalloc[0]), int(finalloc[1])), 0x00FF00)
- if (r+g+b < 300):
- data = 1
- else:
- data = 0
- total += data*(2**(xtt))
- if (y < 16):
- signature += chr(total)
- else:
- crypto += chr(total)
- print(signature)
- print(crypto)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement