Re: [PHP-DEV] username: shaficsebd

2016-08-10 Thread Michał Brzuchalski
It doesn't look like base64_*'s responsibility at all. Those global functions should be just encoder and decoder and notbing yo do with security! 10.08.2016 3:24 PM "Kalle Sommer Nielsen" napisał(a): > On Aug 10, 2016 15:15, "Shafi Upwork" wrote: > > > > I was working Base64 Decode and Encode >

Re: [PHP-DEV] username: shaficsebd

2016-08-10 Thread Kalle Sommer Nielsen
On Aug 10, 2016 15:15, "Shafi Upwork" wrote: > > I was working Base64 Decode and Encode > I realize how it could be if we add a password with it? > we use > > $string = 'i am trying to do something'; > $encode = base64_encode($string ,'mypassword'); > > $decode = base64_decode($str, 'mypassword'

[PHP-DEV] username: shaficsebd

2016-08-10 Thread Shafi Upwork
I was working Base64 Decode and Encode I realize how it could be if we add a password with it? we use $string = 'i am trying to do something'; $encode = base64_encode($string ,'mypassword'); $decode = base64_decode($str, 'mypassword'); so if password match then we will get result or not.. just