blackjack

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit c2f2be6d1d418033c7c1216dcae22570c5f4fa23
parent 228cd890fc45836f27943803cf6e6c83e2b81b41
Author: Michael Constantine Dimopoulos <31562759+MichaelDim02@users.noreply.github.com>
Date:   Thu,  1 Mar 2018 14:45:50 +0000

Add files via upload
Diffstat:
Ahash.py | 21+++++++++++++++++++++
1 file changed, 21 insertions(+), 0 deletions(-)

diff --git a/hash.py b/hash.py @@ -0,0 +1,21 @@ +from __future__ import print_function +import hashlib + +# hash.py +# Blackjack & Blackjack21 +# Used to convert strings to hashes +# MD5, SHA1, SHA256, SHA512 +# +# Email: anivsante2@gmail.com +# +# Links: +# https://github.com/MichaelDim02/BlackJack +# https://github.com/MichaelDim02/BlackJack21 + +def converter(): + string = raw_input("String: ") + print("\nMD5: ",hashlib.md5(string).hexdigest()) + print("\nSHA1: ",hashlib.sha1(string).hexdigest()) + print("\nSHA256: ",hashlib.sha256(string).hexdigest()) + print("\nSHA512: ",hashlib.sha512(string).hexdigest()) +converter()