Advertisement
MichalCzEJ

Untitled

Nov 14th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. vstup = input("Zadej hash: ")
  2.  
  3. tabulka = []
  4. secteni = 0
  5.  
  6. for x in vstup:
  7. tabulka.append(ord(x))
  8.  
  9. for i in range(len(tabulka)):
  10. secteni = secteni + (256 - int(tabulka[i]))
  11. secteni = secteni % 256
  12. print(hex(secteni).split('x')[-1])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement