Find the answer to your Linux question:
Results 1 to 3 of 3
Well, I have to Encrypt something using PHP. I also must be able to Decrypt it when I know the key. What function to use? I have been looking on ...
  1. #1
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,422

    Crypting PHP Question

    Well, I have to Encrypt something using PHP.
    I also must be able to Decrypt it when I know the key.
    What function to use?
    I have been looking on the PHP-Function-List. But I only found mcrypt. But I cant figure out how that works..
    So, how can I make a good Encryption in PHP that is able to Decrypt.

    Cheers,
    Robin
    New Users, please read this..
    Google first, then ask..

  2. #2
    Linux Enthusiast
    Join Date
    Aug 2006
    Posts
    631
    Hi Robin,

    After a Google on "howto encrypt php" I found this:

    Encryption and Decryption using PHP and GnuPG

    I'm not familiar with it but maybe it could be something for you.

    Regards

  3. #3
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,422
    I have been Googling aswell.
    But that is (for how far I understand that) Encrypting your PHP script.
    But I just want to Fiddle around with Variables. (Like Base64 but then with a Secret Key).
    I know there are lots of Encryption ways.
    But I forgot all the names :o SO I cant google on them... (Well I remember Hash types but thats kinda useless if you want to be able to decrypt it aswell..)
    New Users, please read this..
    Google first, then ask..

Posting Permissions

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