Results 1 to 9 of 9

Thread: php encryption

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2002
    Location
    Philippines
    Posts
    9

    php encryption

    Sir,

    will you help me on how to secure my data using two way encrytion . . .

    encryption
    and
    decryption process . . .



  2. #2
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,337
    you should use a one way only. md5() is one way and it is pretty secure. if there is a decode than that just leaves the dat to be crasked.

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    What for?
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  4. #4
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687
    Originally posted by phpman
    you should use a one way only.
    Unable to decrypt encrypted data seems kinda useless.......
    I think what was being asked for was a way to encrypt data so it can be stored..... then when the data is requested, decrypt it and display to the user.
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  5. #5
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,337
    so then expalin to me how you decrypt md5()

    you can't that is why it is so popular for passwords and such.

    but like cornedbeef said "for what?"

  6. #6

    Thread Starter
    New Member
    Join Date
    Sep 2002
    Location
    Philippines
    Posts
    9

    encryption?

    Sir!

    I usually need the two way encryption for security reason on my database, because I want to encrypt the data inside my database mostly the user's table. . .

    any recommendations? Sir!

    Because one thing Im concerned for is the when I use md5() function I the user can't decrypt the his/her record when she or he log-in in the system because his record most epecially his password is encrypted already.

  7. #7
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    Re: encryption?

    Originally posted by josefiligan
    Sir!

    I usually need the two way encryption for security reason on my database, because I want to encrypt the data inside my database mostly the user's table. . .

    any recommendations? Sir!

    Because one thing Im concerned for is the when I use md5() function I the user can't decrypt the his/her record when she or he log-in in the system because his record most epecially his password is encrypted already.
    Is the only record that is being encrypted a password field? If so, why would they need to see this information?
    My evil laugh has a squeak in it.

    kristopherwilson.com

  8. #8
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Could you please explain in much detail what you are trying to do?
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  9. #9
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    One-way encryption, like MD5 works because the way they compare passwords is to MD5 your input and then compare it to the aleady MD5ed password that is in the database. That is why websites like this don't just give you your password when you lose yours, it has to reset it to something and send you that so you can log in and change it. You will need to find some other way to encrypt data if you want to decrypt it later.
    <removed by admin>

Posting Permissions

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



Click Here to Expand Forum to Full Width