Advertisement
thepowderguy

Untitled

Sep 30th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.68 KB | None | 0 0
  1.  
  2. yaxis = sub(BL, TL)
  3. xaxis1 = sub(TR, TL)
  4. xaxis2 = sub(BR, BL)
  5.  
  6. crypto = ""
  7. signature = ""
  8.  
  9. for y in range(0, 32):
  10.     for xt in range(0, 4):
  11.         total = 0
  12.         for xtt in range(0, 8):
  13.             x = xt*8 + xtt
  14.             xn = (x+1.0)/(32.0+1.0)
  15.             yn = (y+1.0)/(32.0+1.0)
  16.             finalloc = add(TL, add(  mul(xaxis1, xn)  ,mul(  (sub(add(yaxis, mul(xaxis2, xn)), mul(xaxis1,xn)))  , yn)))
  17.             r,g,b = im.getpixel((int(finalloc[0]), int(finalloc[1])))
  18.             im.putpixel((int(finalloc[0]), int(finalloc[1])), 0x00FF00)
  19.             if (r+g+b < 300):
  20.                 data = 1
  21.             else:
  22.                 data = 0
  23.             total += data*(2**(xtt))
  24.         if (y < 16):
  25.             signature += chr(total)
  26.         else:
  27.             crypto += chr(total)
  28. print(signature)
  29. print(crypto)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement