blackjack21

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

commit 8a4f844aea3f02df4d0a7de62878bcde0ca11245
parent af7332a560a216c5a8e41b50f9e76e7c1f4fa6a9
Author: Michael Constantine Dimopoulos <31562759+MichaelDim02@users.noreply.github.com>
Date:   Thu,  1 Mar 2018 14:44:53 +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()