encrypt in php exampel ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

encrypt in php exampel ?

Hi what is ment by encryption? uses of encryption ? any one knowladge about that plese post me that sorce code?

27th Aug 2016, 1:09 AM
vinay
vinay - avatar
2 Answers
0
not human understandable string is called encryption. sacred or secret is encryption. you can use md5 or sha2 for encryption. there r many such available. $a="qwerty"; $b=md5 ($a); echo $b;
27th Aug 2016, 11:03 AM
Mohammed Irfan
Mohammed Irfan - avatar
0
you can also use base64encode and base64decode for encryption and decryption of the string or data. You can also make your custom encryption and decryption method like WordPress password class.
28th Aug 2016, 12:58 PM
Sandeep Thakkar
Sandeep Thakkar - avatar