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

How to call a php function from another php file?

0 Answers  


Which is faster for or foreach?

0 Answers  


How does integrate SSL certificate in websites and also how to generate CSR in Local machines? plese give some ideas ASAP.....

0 Answers  


How are cookies created?

0 Answers  


How to merge values of two arrays into a single array?

0 Answers  


How to repeat a string to a specific number of times in php?

0 Answers  


How can I prevent sql-injection in php?

0 Answers  


What does csrf token mismatch mean?

0 Answers  


Tell me what is the difference between exception::getmessage and exception::getline?

0 Answers  


How break and continue while loop in php?

0 Answers  


List some of the features of php7.

0 Answers  


What enctype is required for file uploads to work?

0 Answers  


Categories