SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Guru Richi's Avatar
    Join Date
    Jul 2001
    Location
    Hu,Bp.
    Posts
    842
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    crypt and decrypt how ?!

    hi all !

    i know that crypt() to crypt the text !
    but how te read it back , as decrypt ?

  2. #2
    SitePoint Wizard TWTCommish's Avatar
    Join Date
    Aug 1999
    Location
    Pittsburgh, PA, USA
    Posts
    3,910
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    From http://www.php.net/manual/en/function.crypt.php
    There is no decrypt function, since crypt() uses a one-way algorithm.

  3. #3
    Say WHA?! goober's Avatar
    Join Date
    Sep 2000
    Location
    United States
    Posts
    1,921
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There's got to be some sort of algorhytm or method out there which is documented, other than the crypt() function. Try looking up some third part or reference web sites, maybe they'd have some ideas..

    But I wouldn't know, I'm just a simple ASPer.
    Sean Killeen [LinkedIn] [Twitter] [Web]

    Warning: Reality.sys corrupted. Universe halted. Reboot? (Y/N)

  4. #4
    SitePoint Guru Richi's Avatar
    Join Date
    Jul 2001
    Location
    Hu,Bp.
    Posts
    842
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i need this for a form, coz when someone gonna submit it, will get something like this :
    *.php?st_name=dady&nd_name=mamy&account=mam@jaja.com&more=yes&sub=1

    so i need to crytion this,and when is inserted to the db,will decryption it !

    is there anyway ?

  5. #5
    Probably eating pie mitsubishi's Avatar
    Join Date
    Sep 2001
    Location
    England, UK
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you just want to keep it out of the url use POST instead of GET and the variables will be sent unseen.

  6. #6
    Say WHA?! goober's Avatar
    Join Date
    Sep 2000
    Location
    United States
    Posts
    1,921
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    mitsubishi, Thank you for stating what was right under my nose and yet I failed to see. knew i was missing something.
    Sean Killeen [LinkedIn] [Twitter] [Web]

    Warning: Reality.sys corrupted. Universe halted. Reboot? (Y/N)


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
  •