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 difference between exception::getmessage and exception::getline?

0 Answers  


What is php date function?

0 Answers  


What is a namespace in php?

0 Answers  


What is final class and final method in php?

0 Answers  


What is the correct php command to use to catch any error messages within the code?

0 Answers  






What type of headers that PHP supports?

0 Answers  


How can I get the only name of the current executing file?

6 Answers  


What is inheritance in php?

0 Answers  


1. Create student database. 2. First page should display the students available in the database. There should be add, edit and delete buttons. 3. There should be option to search students by name, code, date of joining, department or combination of these. 4. Should have an add/edit screen. Add and Edit should be handled in the same page. 5. Delete should ask for confirmation before deleting the actual record. 6. Validation should be done in JavaScript as well as php.

0 Answers   Zonex,


What is the delimiter syntax is PHP's default delimiter syntax

0 Answers  


What are escaping characters?

0 Answers  


What is foreach loop in php?

0 Answers  


Categories