Basic md5 hash algorithms

Questions about programming languages and debugging
Post Reply
seras
On the way to fame!
On the way to fame!
Posts: 28
Joined: 08 Sep 2007, 16:00
16
Location: Inside ur box
Contact:

Basic md5 hash algorithms

Post by seras »

Code: Select all

>>> import md5
>>> m = md5.new("Seras-Python Coder").hexdigest()
>>> m
'ca19349f6a933e312d70ed5a95130671'
>>> 
An example made with Python's IDLE Gui...Opinions plzz...
Seras--->suck-o.com Proud Member
<img src="http://img161.imageshack.us/img161/1393/26014140qm9.jpg">

User avatar
Nerdz
The Architect
The Architect
Posts: 1127
Joined: 15 Jun 2005, 16:00
18
Location: #db_error in: select usr.location from sucko_member where usr.id=63;
Contact:

Post by Nerdz »

This is not a algorithm of md5 itself... it's more how to use a function no?

Or maybe you hide your algo?
Give a man a fish, you feed him for one day.
Learn a man to fish, you feed him for life.

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

Code: Select all

>>> import md5
that's where the md5 class (don't know if it's also called class in Python) is imported, if you want to get deeper into it you should take a look at the hashlib module of Python:
http://docs.python.org/lib/module-hashlib.html

but well, I think Maboroshi can tell you more about this... :)

seras
On the way to fame!
On the way to fame!
Posts: 28
Joined: 08 Sep 2007, 16:00
16
Location: Inside ur box
Contact:

Post by seras »

I'm new in Python...It's just an example of how to use the function...But thanx a lot for ur opinions!! :D
Seras--->suck-o.com Proud Member
<img src="http://img161.imageshack.us/img161/1393/26014140qm9.jpg">

bubzuru
.net coder
.net coder
Posts: 700
Joined: 17 Apr 2007, 16:00
17
Contact:

Post by bubzuru »


seras
On the way to fame!
On the way to fame!
Posts: 28
Joined: 08 Sep 2007, 16:00
16
Location: Inside ur box
Contact:

Post by seras »

Thanx for the info buzburu...I don't know PHP though.I only know Python and VB 6.
Seras--->suck-o.com Proud Member
<img src="http://img161.imageshack.us/img161/1393/26014140qm9.jpg">

bubzuru
.net coder
.net coder
Posts: 700
Joined: 17 Apr 2007, 16:00
17
Contact:

Post by bubzuru »

seras wrote:Thanx for the info buzburu...I don't know PHP though.I only know Python and VB 6.
VB 6 is ok i like .net alot more tho

seras
On the way to fame!
On the way to fame!
Posts: 28
Joined: 08 Sep 2007, 16:00
16
Location: Inside ur box
Contact:

Post by seras »

I hate .NET...I don't know why.But Python has to offer a lot more than .NET...
Seras--->suck-o.com Proud Member
<img src="http://img161.imageshack.us/img161/1393/26014140qm9.jpg">

bubzuru
.net coder
.net coder
Posts: 700
Joined: 17 Apr 2007, 16:00
17
Contact:

Post by bubzuru »

seras wrote:I hate .NET...I don't know why.But Python has to offer a lot more than .NET...
what language u talkin about ??
if vb2003 then thats why :lol:

Post Reply