Is there a way to encrypt text from php?

Answers were Sorted based on User's Feedback



Is there a way to encrypt text from php?..

Answer / mahidhar

yes,using base64_encode() using this function we encrypt
the text messsage.

Is This Answer Correct ?    3 Yes 0 No

Is there a way to encrypt text from php?..

Answer / mahidhar

using base64_encode() functions.

Is This Answer Correct ?    1 Yes 0 No

Is there a way to encrypt text from php?..

Answer / siva

using md5()

Is This Answer Correct ?    0 Yes 0 No

Is there a way to encrypt text from php?..

Answer / nirmit

MD5() is a one way hash funtion. Its returns a hash but the
hash cannot return the original string. Instead, AES_CRYPT
(), BASE64_ENCODE() can be used for encryption.

Is This Answer Correct ?    0 Yes 0 No

Is there a way to encrypt text from php?..

Answer / dinesh g

Can use CRIPT(), MD5(), SHA1(), SHA2xx() algorithms but
SHA2XX() algorithm is advisable since MD5 & SHA1 cause
security issue.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

What is the functionality of the function html entities?

3 Answers  


Is php front end?

0 Answers  


What is the best way to test the strpos() return value in php?

0 Answers  


What does $_cookie mean?

0 Answers  


What is cURL in PHP?

0 Answers  






What is the w3c?

0 Answers  


I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what’s the problem?

0 Answers  


How do i explode this string '||25||34||73||94||116||128' i need to have a array like this array ( 0 => '25', 1 => '34', 2 => '73', 3 => '94', 4 => '116', 5 => '128' ) explode("||", $array); didnt work for me i get this array array ( 0 => '', 1 => '25', 2 => '34', 3 => '73', 4 => '94', 5 => '116', 6 => '128', )

2 Answers  


What are the different types of Errors in PHP?

20 Answers   Cisco, TCS, Troop Software,


how will i set pagination ?

2 Answers  


What is cakephp framework?

0 Answers  


Explain what are the different errors in php?

0 Answers  


Categories