6 Replies - 422 Views - Last Post: 27 April 2013 - 01:48 PM

#1 msz_900  Icon User is offline

  • New D.I.C Head

Reputation: -2
  • View blog
  • Posts: 32
  • Joined: 09-February 11

Best way to encrypt data in php

Posted 27 April 2013 - 08:40 AM

HY!
can any one give me an idea that which is the best and latest way to encrypt user data in php and also decrypt it whenever we want?
Is This A Good Question/Topic? 0
  • +

Replies To: Best way to encrypt data in php

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 8375
  • View blog
  • Posts: 31,132
  • Joined: 12-June 08

Re: Best way to encrypt data in php

Posted 27 April 2013 - 09:19 AM

Depends on your data needs. What have you looked into so far?

http://www.networkso.../encryption.htm
http://www.cs.wustl....ncryption_perf/
http://coding.smashi...thods-with-php/
Was This Post Helpful? 0
  • +
  • -

#3 msz_900  Icon User is offline

  • New D.I.C Head

Reputation: -2
  • View blog
  • Posts: 32
  • Joined: 09-February 11

Re: Best way to encrypt data in php

Posted 27 April 2013 - 10:21 AM

actually iam working in PHP and using PDO interaction with mysql, so please give me that idea which work's for PDO.
Was This Post Helpful? 0
  • +
  • -

#4 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 8375
  • View blog
  • Posts: 31,132
  • Joined: 12-June 08

Re: Best way to encrypt data in php

Posted 27 April 2013 - 10:49 AM

I am pretty sure PDO doesn't really need to play a major part in deciding what encryption algorithm to use.
Was This Post Helpful? 0
  • +
  • -

#5 JackOfAllTrades  Icon User is online

  • Saucy!
  • member icon

Reputation: 5954
  • View blog
  • Posts: 23,222
  • Joined: 23-August 08

Re: Best way to encrypt data in php

Posted 27 April 2013 - 11:09 AM

What are you trying to encrypt?
Was This Post Helpful? 0
  • +
  • -

#6 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 8375
  • View blog
  • Posts: 31,132
  • Joined: 12-June 08

Re: Best way to encrypt data in php

Posted 27 April 2013 - 11:20 AM

I typically want to encrypt all my base. Ha.
Was This Post Helpful? 0
  • +
  • -

#7 JackOfAllTrades  Icon User is online

  • Saucy!
  • member icon

Reputation: 5954
  • View blog
  • Posts: 23,222
  • Joined: 23-August 08

Re: Best way to encrypt data in php

Posted 27 April 2013 - 01:48 PM

You can't, it belongs to us.

I'm just curious if the OP is trying to encrypt passwords, which would be a fail, or CC information, which carries its own set of issues (PCI compliance in the US), or just encryption of general data.

In any event, the manual is a good place to start.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1