what is MD5

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • damod.php@gmail.com

    #1

    what is MD5


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

  • Mike Russell

    #2
    Re: what is MD5

    <damod.php@gmai l.comwrote in message
    news:1171690564 .542111.127690@ s48g2000cws.goo glegroups.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.

    --
    Mike Russell



    Comment

    • Toby A Inkster

      #3
      Re: what is MD5

      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!

      Comment

      Working...