Encryption decryption problem

Discussion in 'PHP' started by computerzworld, Dec 12, 2008.

  1. #1
    Which are the best encryption & decryptions that are available in php?
     
    computerzworld, Dec 12, 2008 IP
  2. izwanmad

    izwanmad Banned

    Messages:
    1,064
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #2
    why you want to create your own encryption/decryption code? why don't you use what is already available... like md5?
     
    izwanmad, Dec 12, 2008 IP
  3. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #3
    md5 is a one way hash, which cannot be decrypted.

    I've used a custom AES encryption class for a while. You can also use mcrypt, and some other functions to properly encrypt and decrypt data.

    What exactly do you need to encrypt? There may be specific guidelines as to what alogrythms should be used.
     
    jestep, Dec 13, 2008 IP
  4. xrvel

    xrvel Notable Member

    Messages:
    918
    Likes Received:
    30
    Best Answers:
    2
    Trophy Points:
    225
    #4
    What do you want to de/encrypt? A string or your PHP source code? :)
     
    xrvel, Dec 16, 2008 IP