Description
Create an MD5 Hash with this little script that comes with a simple TKinter GUI. Get more info on creating MD5 hashes at Md5Passwords
Code
{{{ #!/usr/bin/bash from Tkinter import * import md5
def doitnow():
- salt = insalt.get() textstr = text_str.get() hash = md5.new( salt + textstr ).hexdigest() hashtext.delete(0,END) hashtext.insert(0,hash) return 0
root = Tk() lab1 = Label(root, text = 'Salt:') lab2 = Label(root, text = 'Key String:') lab3 = Label(root, text = 'Hash:')
insalt = Entry(root, bg = 'white') text_str= Entry(root, bg = 'white') hashtext = Entry(root, bg = 'white')
button = Button(root,text = "Hash It", command = doitnow)
insalt.focus()
lab1.pack(anchor = W) insalt.pack(anchor = W) lab2.pack(anchor = W) text_str.pack(anchor = W) lab3.pack(anchor = W) hashtext.pack(anchor = W) button.pack(ancho = E)
root.mainloop() }}}