By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,968 Members | 1,684 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,968 IT Pros & Developers. It's quick & easy.

what is MD5

P: n/a

What is MD5 its encryption algorithm...? am in php Mysql

Feb 17 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
<da*******@gmail.comwrote in message
news:11**********************@s48g2000cws.googlegr oups.com...
>
What is MD5 its encryption algorithm...? am in php Mysql
I treat it as a black box that takes any string, and converts it to a 32
character "encrypted" string that happens to be a hex number. The algorithm
is fast on systems with 32 bit registers, and (for a while anyway) it was
very difficult to "fool", in the sense of coming up with a string that will
produce the desired encrypted value.
http://en.wikipedia.org/wiki/MD5
--
Mike Russell
www.curvemeister.com/forum/
Feb 17 '07 #2

P: n/a
damod.php wrote:
What is MD5 its encryption algorithm...? am in php Mysql
No -- it's a hash algorithm. Hashing is a bit like encryption, except:

1. When you hash a really long string, you get back something
much shorter.

2. The conversion is one way only. You can't unhash.

Compare:

================================================== ====================
Garbles? Shrinks? Reversable? Example
----------------------------------------------------------------------
Encryption Yes No Yes GPG
Hashing Yes Yes No MD5, SHA1
Compression Yes Yes Yes ZIP, Gzip, Bzip2
Encoding Slightly No Yes htmlentitites()
================================================== ====================
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux

* = I'm getting there!
Feb 17 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.