Board index   FAQ   Search  
Register  Login
Board index PHP PHP General

PHP encode decode

General discussions related to php

Moderators: macek, egami, gesf

PHP encode decode

Postby JamesHowardjr » Wed Jul 23, 2014 11:10 pm

Hi,

I want to learn how to do PHP encode.
i've read article about it
http://etechnologytips.com/encoding-dec ... using-php/
Is there any simpler way to encode PHP using MD5 hash?
JamesHowardjr
New php-forum User
New php-forum User
 
Posts: 1
Joined: Wed Jul 23, 2014 10:59 pm

Re: PHP encode decode

Postby Strider64 » Thu Jul 24, 2014 5:57 am

That article is a bunch of hooey, the only true way to ensure data is secure is using a SSL connection (https) : http://www.digicert.com/ssl.htm

However, most of the time the majority of php programmers doesn't even need that (unless you're doing somekind of banking transaction(s)) as long as you use a good password hashing library (NOT YOUR OWN!!!) if you're not using PHP 5.5 (I hear that is built in) a good one is : https://github.com/ircmaxell/password_compat/blob/master/lib/password.php (from what I understand that is the script that is included with PHP 5.5). Since most of the time all we are concern about is making sure the MySQL database isn't compromised.

Leave the encoding and decoding to people who know what they are doing, for they have to thoroughly test those scripts and get approved before they are made public. An use an establish online payment service if you need to process credit cards (PayPal, CCBill, etc...).
User avatar
Strider64
New php-forum User
New php-forum User
 
Posts: 69
Joined: Sat Mar 23, 2013 8:24 am


Return to PHP General

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron