SHARE
TWEET

Untitled

a guest May 19th, 2017 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def hash_data (data):
  2.     num = 0
  3.     for i in range (0, len (data)):
  4.         num += int (data [i]) << 1
  5.         num += int (data [3]) << 2
  6.         num -= int (data [2]) << 1
  7.         num -= int (data [1]) << 1
  8.  
  9.     return str (num)
RAW Paste Data
Top