Professional Web Applications Themes

i can't figure out how to use MD5() - PHP Development

I do get that MD5() scrambles a password, but how do you then unscrable it? I want to get $password from the user, scrable it, then append it to every link....

  1. #1

    Default i can't figure out how to use MD5()

    I do get that MD5() scrambles a password, but how do you then
    unscrable it? I want to get $password from the user, scrable it, then
    append it to every link.
    lawrence Guest

  2. #2

    Default Re: i can't figure out how to use MD5()

    The MD5 function can be use to encrypt a password, but there is no PHP
    function to decrypt it. I suppose you could brute force an MD5 hash but then
    why would you want to append that to a link?


    "lawrence" <lkrubnergeocities.com> wrote in message
    news:da7e68e8.0308171318.11a5282posting.google.co m...
    > I do get that MD5() scrambles a password, but how do you then
    > unscrable it? I want to get $password from the user, scrable it, then
    > append it to every link.


    jkd Guest

  3. #3

    Default Re: i can't figure out how to use MD5()

    On 17 Aug 2003 14:18:09 -0700, [email]lkrubnergeocities.com[/email] (lawrence) scrawled:
    >I do get that MD5() scrambles a password, but how do you then
    >unscrable it? I want to get $password from the user, scrable it, then
    >append it to every link.
    MD5 isn't an encryption algorithm - it is a checksum algorithm - and
    so is designed to be one way (it's actually a many - one algorithm) so
    two passwords may check sum to the same value (although) this is unlikely
    for such short strings.

    Baggy
    James Guest

  4. #4

    Default Re: i can't figure out how to use MD5()

    On 17 Aug 2003 14:18:09 -0700, [email]lkrubnergeocities.com[/email] (lawrence) wrote:
    >I do get that MD5() scrambles a password, but how do you then
    >unscrable it?
    You don't, it's impossible.

    You store the MD5 of the password. Then when a password is entered in the
    future, you MD5 that and compare it with the previously stored MD5. If they
    match, the passwords match. Part of the idea of this is that the original
    password isn't stored, so even if the table was read by crackers the passwords
    wouldn't be revealed.

    --
    Andy Hassall (andyandyh.co.uk) icq(5747695) ([url]http://www.andyh.co.uk[/url])
    Space: disk usage ysis tool ([url]http://www.andyhsoftware.co.uk/space[/url])
    Andy Hassall Guest

Similar Threads

  1. Cant figure this one out!
    By Mrcool1804 in forum Macromedia Flash Player
    Replies: 0
    Last Post: February 26th, 03:43 AM
  2. Replies: 2
    Last Post: September 30th, 04:33 PM
  3. Trying to figure this out
    By dude9er webforumsuser@macromedia.com in forum Macromedia Flash Sitedesign
    Replies: 0
    Last Post: September 12th, 11:58 PM
  4. Need to figure this one out
    By Bill Ray in forum Macromedia Fireworks
    Replies: 6
    Last Post: July 22nd, 07:51 AM
  5. trying to figure out CSS
    By Murray *TMM* in forum Macromedia Dreamweaver
    Replies: 1
    Last Post: July 17th, 07:59 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139