blackjack

[historical] Password bruteforce script
git clone git://mcdim.xyz/blackjack21.git
Log | Files | Refs | LICENSE

hash.py (578B)


      1 from __future__ import print_function
      2 import hashlib
      3 
      4 #  hash.py
      5 #  Blackjack & Blackjack21
      6 #  Used to convert strings to hashes
      7 #  MD5, SHA1, SHA256, SHA512
      8 #
      9 #  Email: anivsante2@gmail.com
     10 #
     11 #  Links:
     12 #  	https://github.com/MichaelDim02/BlackJack
     13 #  	https://github.com/MichaelDim02/BlackJack21
     14 
     15 def converter():
     16 	string = raw_input("String: ")
     17 	print("\nMD5:    ",hashlib.md5(string).hexdigest())
     18 	print("\nSHA1:   ",hashlib.sha1(string).hexdigest())
     19 	print("\nSHA256: ",hashlib.sha256(string).hexdigest())
     20 	print("\nSHA512: ",hashlib.sha512(string).hexdigest())
     21 converter()