Jump to content

Recommended Posts

Posted

hi

today i have make a hash converter in python

here is the source

import hashlib, time, sys
print '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
print '~ Convert Everything into a hash format ~~~~~~~'
print '~ Suport: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
print '~ md5 sha1 sha224 sha256 sha384 and sha512 ~~~~'
print '~ Woot ! Woot! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
print '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'

def md5():
m5=input('Give me the word to Convert it into md5 :')
conv=hashlib.md5(m5).hexdigest()
print m5,' is now ~~~~> ',conv,'<~~~~ md5 hash!'
next=input('Wanna continue with next hashes? for Yes = 1 no = 2\n:')
if (next == 1):
	main()
elif (next == 2):
	print 'Bye...'
	sys.exit()
def sha1():
sh1=input('Give me the word to Convert it into sha1 :')
conv=hashlib.sha1(sh1).hexdigest()
print sh1,' is now ~~~~> ',conv,'<~~~~ sha1 hash!'
next=input('Wanna continue with next hashes? for Yes = 1 no = 2\n:')
if (next == 1):
	main()
elif (next == 2):
	print 'Bye...'
	sys.exit()
def sha224():
sh24=input('Give me the word to Convert it into sha224 :')
conv=hashlib.sha224(sh24).hexdigest()
print sh24,' is now ~~~~> ',conv,'<~~~~ sha244 hash!'
next=input('Wanna continue with next hashes? for Yes = 1 no = 2\n:')
if (next == 1):
	main()
elif (next == 2):
	print 'Bye...'
	sys.exit()
def sha384():
sh38=input('Give me the word to Convert it into sha384 :')
conv=hashlib.sha384(sh38).hexdigest()
print sh38,' is now ~~~~> ',conv,'<~~~~ sha384 hash!'
next=input('Wanna continue with next hashes? for Yes = 1 no = 2\n:')
if (next == 1):
	main()
elif (next == 2):
	print 'Bye...'
	sys.exit()
def sha512():
sh51=input('Give me the word to Convert it into sha512 :')
conv=hashlib.sha512(sh51).hexdigest()
print sh51,' is now ~~~~> ',conv,'<~~~~ sha512 hash!'
next=input('Wanna continue with next hashes? for Yes = 1 no = 2\n:')
if (next == 1):
	main()
elif (next == 2):
	print 'Bye...'
	sys.exit()
def creator():
print 'Im a hash Converter Created by DarkInjection'
print 'Mail me @ v-227@hotmail.com'
print ':)'

def main():
print 'types :'
print '1 for ~md5~'
print '2 for ~sha1~'
print '3 for ~sha224~'
print '4 for ~sha384~'
print '5 for ~sha512~'
print '6 for ~Creds~'
inp=input('Give me the hash type to Convert :')
if (inp == 1):
	print 'Wait a moment...'
	time.sleep(3)		
	md5()
if (inp == 2):
	print 'Wait a moment...'
	time.sleep(3)
	sha1()
if (inp == 3):
	print 'Wait a moment...'
	time.sleep(3)
	sha224()
if (inp == 4):
	print 'Wait a moment...'
	time.sleep(3)
	sha384()
if (inp == 5):
	print 'Wait a moment...'
	time.sleep(3)
	sha512()
if (inp == 6):
	print 'Wait a moment...'
	time.sleep(3)
	creator()
main()

and here is the file

DOWNLOAD~~~!

hope to find it helpfull

thnx

Posted

I wonder how many people here knows what hash means... :P

 

Anyway could you please give some more info on that?

 

Thanks in advance

Posted

I wonder how many people here knows what hash means... :P

 

Anyway could you please give some more info on that?

 

Thanks in advance

:P anyway :P

what info u want how to compile it how to run it how to conver it in exe?

oh well what u can do with this

lets say u wanna encrypt one word like "hi"

but u dont know the algorithms this program do it for u

suport some algorithms like md5 etc its very simple u can convert database keys etc

anyway for all this keys is a way to crack decrypt so nothing its safe :P

well u need the python to run this program

its very simple

download python from here ~~~>http://www.python.org/

next install and then put this file into C:\

next open cmd type cd C:\

and next use hash.py or start hash.py

anyway u can convert it into exe file

 

Posted

Well I know some coding.I didn't ever work with python codes...Algorithms,C,ASM is better...I think :)

 

-Blane

 

PS: GoodNight and GJ ;)

Posted

python is very easy and its helpful for some types of programing

so its not bad to know one more programing language

i know c and some things about asm(Linux asm)

but python is here to do ur work faster :P

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...